Include body in /status responses
Author: greenmooseSECreated Nov 23, 2020Updated Sep 25, 2025
To test reading response body for status codes I would like an option for httpbin to return a body in the response, either by default or e.g. by using query string parameter https://httpbin.org/status/500?body=SomeBody
(In comparison, httpstat.us returns a plain text body if no accept header is given, and a application/json body if accept: application/json header is supplied. See below for example
)
Source: postmanlabs/httpbin