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

Return a bare JSON scalar or array as the whole body

GEThttps://api.testingapis.com/api/edge-cases/top-level/{kind}Sign in to see this endpoint's URL

Parameters 1

NameTypeDescription
kindrequiredpath · stringstring, number, boolean, null or array. Case-insensitive.

Responses

200
Success.
404
Unknown kind.

Example

Request
curl -X GET "https://api.testingapis.com/api/edge-cases/top-level/string" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
"just a string"

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.