3 ms·
Install iSH. Then curl -D- https://example.com/ https://ish.app/ https://ish.app/
by oefrha 6y ago
Install iSH. Then
curl -D- https://example.com/
https://ish.app/ https://ish.app/
- chrismorgan 6y agoFor headers alone, use a HEAD request with `curl --head`, short form `curl -I`. `curl -D-` emits the body as well, which is just noise if you’re only interested in the headers.
- oefrha 6y agoA HEAD request doesn’t necessarily return the same headers as the corresponding GET request. Just use -o/dev/null to suppress the body (which I omitted for brevity).