Is there a cookie demo?

Oct 26, 2014 at 5:39 AM
Can't quite figure out how to set/send cookies after logging into a site using the API. Anyone got some sample code? At least tell me how to access the headers :)
Coordinator
Oct 27, 2014 at 7:03 PM
Hi nesteruk,

We don't have any samples setting up cookies, but you can use cookies your self by tracking and setting the HTTP header correctly as you mention. We have a structure for representing the headers called http_headers. Each http_request and http_response object contains the headers. I recommend you start by taking a look at the reference documentation links I've provided.

Steve