Curl - Set cookie value

andre via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Oct 5 23:43:57 PDT 2014


Hi,

from a GET request I receive an value "set-cookie" in the reponse 
header. The value from "set-cookie" I have to provide as cookie 
value for the next post request. CURL provides a command line 
command
   --cookie "USER_TOKEN=Yes"

In the std.net.curl HTTP API, there is no possibility to set a 
cookie value.

Could you check?

Kind regards
André


More information about the Digitalmars-d-learn mailing list