Answer the question
In order to leave comments, you need to log in
How to save the session on http request in node js?
All the best!
Tell me how, when making an http request in node using a standard or third-party module (for example, node-fetch), save the session for the next requests. That is, I have the first http request - this is the login, then with this logged in session, you can send the following requests
Answer the question
In order to leave comments, you need to log in
Usually the session id comes in a cookie.
Save cookies, send in subsequent requests, be like a browser.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question