0
0
Postmantesting~5 mins

Basic authentication in Postman - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is Basic Authentication in API testing?
Basic Authentication is a simple method where the client sends a username and password encoded in Base64 in the HTTP header to verify identity.
Click to reveal answer
beginner
How do you set Basic Authentication in Postman?
In Postman, go to the Authorization tab, select 'Basic Auth' type, then enter your username and password. Postman automatically encodes and adds the Authorization header.
Click to reveal answer
intermediate
Why is Base64 encoding not secure for passwords?
Base64 encoding only changes the format of the password; it does not encrypt it. Anyone intercepting the request can decode it easily, so it should be used with HTTPS.
Click to reveal answer
beginner
What HTTP header is used for Basic Authentication?
The 'Authorization' header is used with the value 'Basic ' followed by the Base64 encoded username and password.
Click to reveal answer
beginner
What is a common real-life analogy for Basic Authentication?
It's like showing your ID card at a door guard. You provide your username and password (ID), and the guard checks if you are allowed in.
Click to reveal answer
In Postman, which tab do you use to set Basic Authentication?
AHeaders
BAuthorization
CBody
DParams
What does Basic Authentication send in the HTTP header?
AOAuth token
BUsername and password in plain text
CEncrypted token
DUsername and password encoded in Base64
Why should Basic Authentication be used with HTTPS?
ATo encrypt the credentials during transmission
BBecause Base64 encoding is secure
CTo speed up the request
DTo avoid using passwords
Which HTTP header contains the Basic Authentication credentials?
AContent-Type
BUser-Agent
CAuthorization
DAccept
What is the format of the Authorization header for Basic Authentication?
ABasic <Base64 encoded username:password>
BDigest <hash>
CBearer <token>
DToken <API key>
Explain how Basic Authentication works in API testing using Postman.
Think about how credentials are sent and where you enter them in Postman.
You got /4 concepts.
    Why is it important to use HTTPS when using Basic Authentication?
    Consider the security risks of sending encoded but not encrypted data.
    You got /4 concepts.