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

Authenticate with an API key in the X-API-Key header

GEThttps://api.testingapis.com/api/auth/api-key/headerSign in to see this endpoint's URL

Header: X-API-Key: apibee-key-123.

API key header X-API-Key: apibee-key-123

Responses

200
Authenticated.
401
No key sent, or the key is wrong.

Example

Request
curl -X GET "https://api.testingapis.com/api/auth/api-key/header" \
  -H "X-API-Key: apibee-key-123" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{"authenticated": true, "scheme": "api-key", "location": "X-API-Key header"}

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.