http-response tagged requests and articles

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

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.