pydelion.com

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.

Exit mobile version