Courseiva
Understanding and Using APIshardMultiple ChoiceObjective-mapped

200-901 Understanding and Using APIs Practice Question

A developer needs to use Postman to test an API that uses Basic authentication. How should the credentials be configured in Postman?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use the Authorization tab, select Basic Auth, and enter username and password

Postman's Authorization tab provides a Basic Auth type that automatically encodes credentials. The raw base64-encoded string is the underlying mechanism but is handled by Postman. Basic auth does not use bearer tokens.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Send the credentials in the request body as JSON

    Why it's wrong here

    Basic auth uses the Authorization header, not the body.

  • Use the Authorization tab, select Basic Auth, and enter username and password

    Why this is correct

    Postman will automatically encode and set the header.

  • Set the Authorization header to 'Bearer base64(username:password)'

    Why it's wrong here

    Bearer is for token-based auth, not Basic.

  • Add a query parameter 'auth' with base64-encoded credentials

    Why it's wrong here

    Credentials should not be sent as query parameters.

About these practice questions

This 200-901 question is part of Courseiva's 989-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 200-901 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-901 exam.