More cURL
Last updated
Last updated
-v shows all details of HTTP request and response.
-I Only response headers (HEAD request) **Capital i....
-i Both headers and response body. (HTML code)
Difference between i and I is that -I sends a HEAD request while -i sends any request we specify and prints the headers as well.
-H Set request headers.
-A Set User-Agent
Example: Use -A to change the User-Agent, along with -I and -A to ensure the changes actually took place.