To poll some external servers I need to add cookies to the requests.
In Curl it looks like:
curl -H @cookie1.cookies --request GET "https://site1...."
curl -b "cookie2.cookies" --request GET "https://site2..."
How would be the best way to do this in a THR script? where should I save the cookie files?
Thanks