request/request-promise

please add cookie handling to readme

ralyodio opened this issue · 6 comments

i want to know how to create a cookie jar as well as parse the cookie jar manually.

edit: and also add custom cookie to the request object.

Hi @chovy the second half of Request's examples section explains the use of the jar option quite well.

Did you open this issue to ask this for your own purposes or do you believe that this is very important and should be added to the Request-Promise README as well?

I would at least add a section pointing to the request docs in the request-promise readme.md

Hi @chovy we are currently working on a brand new Request/Request-Promise documentation. I will make sure to include the cookie handling.

thanks.

+1

I would really like to see how to use cookies and cookie jars on the request-promise README.md

Hey everyone, I just added an example to the README. Please make sure to use request-promise@4.2.1 or higher for this to work. Version 4.2.1 includes a bug fix that made using tough-cookie possible.