TestingAPIs is still being built. If something breaks, email support@testingapis.com.

List department names, sorted and without duplicates

GEThttps://api.testingapis.com/api/Employees/departmentsSign in to see this endpoint's URL

Responses

200
Department names.

Example

Request
curl -X GET "https://api.testingapis.com/api/Employees/departments" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
["Design", "Engineering", "… 6 more items"]

Sign in to see the details

The parameters, request and response examples and the live Try it panel for this endpoint are for signed-in members. Accounts are free and take a few seconds to create.