Get response header using cURL request
cURL does not display request or response headers by default, instead displaying only the HTML contents.
To display only the response header, we can use header-only mode in the cURL request.
Here's how you do it:
curl www.dhairyashah.dev -I
or you ca...
h.dhairyashah.dev1 min read