K
K
Keemerie2019-03-17 14:33:35
Node.js
Keemerie, 2019-03-17 14:33:35

Is there any way to get the cookie from another server?

I want to fetch a cookie from a site that has HTTPS protocol when I send a request:

request(url, function (error, response, body) {
            if (!error && response.statusCode == 200) {
                console.log(response.headers);
            } 
        })

I only get a few of them. Is there any way to get all cookies?

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