Last Updated: February 25, 2016
·
1.178K
· andreysavelyev

need a curl with cookie?

curl -v --cookie "cookieName=cookieValue" --header "Accept-Language: en" --header "X-Forwarded-For: 123.123.123.123" "http://localhost:8080/somepage"

http://joelpm.com/curl/tools/2010/06/17/curl-with-cookies-and-headers.html