Postman Tutorial - Authorize API Requests using Basic Auth

preview_player
Показать описание
Learn how to use Basic Auth Authorization type for any API request in Postman.

Basic Auth requires an username and password for the API to be authorized. The Authorization key and value is passed in the header of the API request. But the username:password should be encoded in Base64 format, or else the request will fail.

Sample API for Basic Auth:
Username: postman
Password: password

Found this video interesting - Please Like and Share the video.

Have Feedback/Questions - Leave a comment below.

Get access to 100 plus videos on different automation tools. Also never miss out on any new video posted on our channel.

Other Video Playlists on our Channel:
Selenium:
Jenkins 2.0:
Maven:

Рекомендации по теме
Комментарии
Автор

Thank - Very well explained - crisp and to the point.

shankarga
Автор

thank you so much it is very important to see realtime example

vijaybisen
Автор

can we give any user name or password or is it something specified already in postman or my spring boot project application?

harshitshetty
Автор

From front end side we need to pass as encoded or raw form?

Shani_Rajawat
Автор

I choose basic auth, i enter right credentials, it even shows status as 200 OK, but when I carry out any API process it shows session expired, 401 Unauthorised, I am confused here..

vikaskewalramani
Автор

I followed the same step but still getting the 404 unauthorized

harshitshetty
Автор

Thanks for the quick guild it's really helped me.

world_of_wonder_
Автор

where this user name and password are configured?

dinesha
Автор

Where username and password is configured..

trisha
Автор

Could you make one video on how to do this by API Keys?

vikaskewalramani
Автор

Thanks for sharing, Please help me where to get a username and password?

praveenkl