head-request tagged requests and articles

Categorized request examples and articles tagged with [head-request] keyword
Curl Command With Close Connection Header
This example shows how to send a Curl request to the server and indicate that the client does not want to keep the connection open by sending the Connection: close header. The header is passed with the curl -H command-line option.

Curl Command With Keep-Alive Connection Header
An example of a Curl request with connection and keep-alive headers. The Connection header is passed with the -H "Connection: keep-alive" command-line parameter. The Keep-Alive header is passed with the -H "Keep-Alive: timeout=5, max=100" command-line parameter.

HEAD Request Example
An example of making an HTTP HEAD request to the HTTP API endpoint. In this HEAD request example, the Content-Type response header indicates the media type of the server response, and the Content-Length response header indicates the size of the data on the server.

HTTP HEAD Request
The HTTP HEAD method is used to retrieve HTTP headers from the server. The server does not return the message body in the response.