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

Send a truncated body, then drop the connection

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

<b>Warning:</b> this endpoint deliberately drops the connection. It promises a 10KB body (Content-Length: 10000), sends about 70 bytes of incomplete JSON, then disconnects. Clients should report an incomplete or truncated response.

Responses

200
Headers are sent, but the body is incomplete and the connection is dropped.

Example

Request
curl -X GET "https://api.testingapis.com/api/chaos/partial" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response
The server sends status and headers plus part of the body, then drops the connection. Clients see a truncated or failed read.

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.