R
R
Richard Smith2020-06-22 12:52:13
Node.js
Richard Smith, 2020-06-22 12:52:13

How to receive and pass cookieJar in Got library?

Hello! I can not figure out how to receive cookies and pass them to the request. I am using Got library.
const cookieJar = new CookieJar();
const test = cookieJar.getCookieString(' https://www.ussearch.com ');
console log(test);
and I don't get anything. Please tell me what am I doing wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question