json-response-example tagged requests and articles

Categorized request examples and articles tagged with [json-response-example] keyword
HTTP Response JSON example
An example of getting JSON from a REST API endpoint. In this HTTP Response JSON example, the client tells the server that it needs a JSON response with an Accept: application/json request header. The server specifies the media type of the JSON HTTP response with the Content-Type: application/json response header.

JSON Response Example
An example of receiving a JSON response from a REST API endpoint. In this JSON Response Example, the client tells the server that it expects JSON with the Accept: application/json request header. If the client does not send the Accept: application/json header, the server MAY choose a different media type instead of the JSON MIME type for the HTTP response.