T
T
theITmonster2021-08-18 02:22:27
Node.js
theITmonster, 2021-08-18 02:22:27

How to send a GET request with authorization?

I need to send a GET request, and at the same time specify my oauth token in the headers. That is, Authorization: 'Bearer (token).

I tried with both request and axios, it still gives me a 403 error. Can you tell me how to send such a request to a specific url?

I have already tried so many things - all to no avail.

I would be very grateful for help.

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