Forum Discussion
InquisitiveMai If you only are concerned with the redirects and SSL certificate you can also do the following so you don't have to bother looking through the page data and instead you will only receive the HTTP header.
curl -Iv "https://abc.com/"
If for some reason you were receiving SSL errors you should be able to run the following to ignore the SSL errors as well as follow any redirects provided.
curl -IvkL "https://abc.com/"
Thank you Paulius for your response. But I see the same output for curl -v <URL> and curl -lv <URL>
Is it a differnt Curl Command
- PauliusApr 13, 2023MVP
InquisitiveMai the "-I" flag only provides you the HTTP header and without the -I you will receive the body of the page you are requesting as well. You might not notice a difference if the HTML on the page requested is short but at the bottom of the response you receive you will see the body of the page without the flag mentioned.
Also, if any of the responses in here helped you with the resolution to your inquery please do mark the thread as solved.