Answer the question
In order to leave comments, you need to log in
Do I need to include Bearer in the Authorization header?
How to correctly pass and process the Authorization header in js + php?
Found this excerpt :
const http = axios.create({
headers: {
Authorization: `Bearer ${window.location.search.slice(1)}`,
}
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question