/ Published in: Bash
-I says to get only the headers, the --user flag assumes the server wants basic authentication.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$ curl -I --user auser:mypassword http://example.com/test.jpg