Back to commands

Configuration

curl -I

Check website response headers.

Explanation

Curl -I requests only the response headers from a URL. It is useful for checking status codes, redirects, caching, server headers, and basic web reachability.

Syntax

curl -I <url>

Check response headers

curl -I https://example.com

Look at the HTTP status code and redirect headers first.

Related Guides

Related Tools