curl send post request with cookie code example Example: add a cookie to curl curl -b 'session=abcdef' https://google.com