https://catonmat.net/cookbooks/curl/print-response-headers
Print the Response Headers (TLDR: Use -i argument) – Curl Cookbook
Organic, nutritious, and completely irresistible curl recipes that show you how to print response headers from curl responses.
print the response headerscurl cookbooktldruseargument