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
Written by Andrey Savelyev
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Curl
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#