Answers for "superagent set cookie"

0

superagent set cookie

Superagent.post('...').set('Cookie', 'cookieName1=cookieValue1;cookieName2=cookieValue2');

// will be available in node server as
// console.log(req.cookies.cookieName1);
// cookieValue1
Posted by: Guest on June-02-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language