18 Dec

Curl: how to send cookies

This is how you can use curl with cookies:

curl --cookie cookies.txt --cookie-jar newcookies.txt https://yahoo.com -I

Sometimes it could be required to test a website with cookies from curl.



Leave a Reply

Your email address will not be published. Required fields are marked *