F
F
FlatUser2019-08-15 02:46:22
Node.js
FlatUser, 2019-08-15 02:46:22

How to see sent axios/node-fetch request headers?

How to see axios or node-fetch request headers? That is, those that went to the server when requested.
Approximately as in https.get ()
There it becomes through response.req._header.
This is not for debugging. You need to look at the request headers in Node js itself.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly, 2019-08-15
@vshvydky

And the debug mode is very clearly visible

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question