How to check HTTP response headers $ curl -I [URL] Command curl Description Fetch the headers only (HEAD request). Usage: curl -I https://example.com Deep Dive -I: Fetch the HTTP-header only. Related How to POST JSON data with curl How to check network connectivity