Testing REST API with Curl HEAD Request

This page shows the result of the HEAD request to fetch the headers form the server. Curl is used for simulating HEAD request call against a REST API. -I or --head is a Curl option used to fetch the headers only.
Testing REST API with Curl HEAD Request
If you want to check the kind of headers the server provides, along with other metadata in response headers you can make a HEAD request.
It won't require to transport the entire content to see if a resource is serviceable.

Generate Code Snippets for Testing REST API Curl HEAD Request Example

Convert your Testing REST API Curl HEAD Request request to the PHP, JavaScript/AJAX, Node.js, Curl/Bash, Python, Java, C#/.NET code snippets using the ReqBin code generator.