QuestionQ28

Rest API

Which REST API authentication method relies on usernames and passwords?

  • A basic authentication
  • B OAuth
  • C bearer authentication
  • D API keys
Explanation

Basic authentication is an HTTP authentication scheme where the client includes credentials as a username and password (encoded in Base64) in the Authorization header of each request. This distinguishes it from OAuth (token-based authorization flow), bearer authentication (uses a token string, not credentials), and API keys (a single identifying secret, not a username/password pair).

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!