RadiantHex RadiantHex - 1 year ago 165
HTTP Question

NodeJS and HTTP Client - Are cookies supported?

NodeJS is a fantastic tool and blazing fast.

I'm wondering if HTTPClient supports cookies and if can be used in order to simulate very basic browser behaviour!

Help would be very much appreciated! =)


Found this: node-httpclient (seems useful!) not working!

Answer Source

Just get cookies from Set-Cookie param in response headers and send them back with future requests. Should not be hard.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download