API Testing · Junior · Question 21 of 75

How is a bearer token usually sent?

Show the answer

Correct answer: Authorization: Bearer <token>

Explanation

The Authorization header carries credentials. Tokens in URLs are risky because URLs end up in logs and browser history.

Further reading

Problem with a question

API Testing · Junior · question 21

Test yourself

Take the API Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz