JSON Response Format Example

An example of the JSON response format. The "status": "success" indicates a successful request. The JSON response data is returned as a "data": {...} JSON object. In case of an error, "status": "error" indicates a failed request, and the error description is returned in the "message": "Error description" field.
JSON Response Format Example Send
GET /echo/get/json HTTP/1.1
Host: reqbin.com

Updated: Viewed: 7881 times

Generate Code Snippets for JSON Response Format Example

Convert your JSON Response Format request to the PHP, JavaScript/AJAX, Curl/Bash, Python, Java, C#/.NET code snippets using the ReqBin code generator.