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

Return raw JSON text that contains duplicate keys

GEThttps://api.testingapis.com/api/edge-cases/duplicate-keysSign in to see this endpoint's URL

Most parsers keep the last value for a repeated key; strict parsers reject the document.

Responses

200
Success.

Example

Request
curl -X GET "https://api.testingapis.com/api/edge-cases/duplicate-keys" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{"id": 2, "name": "second value", "nested": {"flag": false}}

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.