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

Authenticate with an API key in the api_key cookie

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

Header: Cookie: api_key=apibee-key-123.

API key in cookie 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/cookie" \
  -H "Cookie: api_key=apibee-key-123" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{"authenticated": true, "scheme": "api-key", "location": "api_key cookie"}

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.