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

Respond with many large headers

GEThttps://api.testingapis.com/api/chaos/huge-headersSign in to see this endpoint's URL

Some clients reject responses with too many headers. For example, Python's http.client caps responses at 100 headers.

Parameters 2

NameTypeDescription
countquery · integer (int32)Number of X-Chaos-Header-NNN headers (1-100, default 50). Default: 50.
sizequery · integer (int32)Characters per header value (1-1000, default 200). Default: 200.

Responses

200
Response with the extra headers.

Example

Request
curl -X GET "https://api.testingapis.com/api/chaos/huge-headers?count=5" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response200 OK
{
  "message": "Added 5 headers of 200 characters each.",
  "headersAdded": 5,
  "approxHeaderBytes": 1100
}

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.