Bird
0
0

Which header is typically used to send an authentication token in an HTTP request between microservices?

easy📝 Conceptual Q3 of 15
Microservices - Authentication and Authorization
Which header is typically used to send an authentication token in an HTTP request between microservices?
AUser-Agent
BContent-Type
CAccept
DAuthorization
Step-by-Step Solution
Solution:
  1. Step 1: Recall HTTP headers for authentication

    The Authorization header is standard for sending tokens like JWT.
  2. Step 2: Understand other headers' roles

    Content-Type defines data format, Accept defines response format, User-Agent identifies client software.
  3. Final Answer:

    Authorization -> Option D
  4. Quick Check:

    Auth token header = Authorization [OK]
Quick Trick: Use Authorization header to send tokens [OK]
Common Mistakes:
MISTAKES
  • Using Content-Type instead of Authorization
  • Confusing Accept header with authentication
  • Sending token in User-Agent header

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes