response-example tagged requests and articles

Categorized request examples and articles tagged with [response-example] keyword
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.

HTTP Request and Response Example
An example of making an HTTP request to the server and the corresponding HTTP response from the server. In this HTTP Request and Response example, the the Accept: text/html request header tells the server that the client needs HTML. The Content-Type: text/html response header informs the client that the server has returned HTML.