RadiantHex RadiantHex - 1 year ago 112
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! =)




EDIT:

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.