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

Drop the connection without sending any response

GETPOSThttps://api.testingapis.com/api/chaos/abortSign in to see this endpoint's URL

<b>Warning:</b> this endpoint deliberately drops the connection. Clients see a network error, not an HTTP status, and Swagger UI shows "Failed to fetch". Available for GET and POST.

Responses

200
Never sent: the connection is dropped instead.

Example

Request
curl -X GET "https://api.testingapis.com/api/chaos/abort" \
  -H "X-TestingApis-Key: YOUR_API_KEY"
Response
The server drops the TCP connection immediately. Clients see a network error (for example curl exit code 56); there is no HTTP response.

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.