Intro to Postman Part 2: authorizing a request

preview_player
Показать описание

Part 2 (of 6): Authorizing a Request with Postman (using an OAuth2 token)

In this video, you will learn the basics of authorizing a request in Postman.

Postman Collection
---------------------

Troubleshooting
---------------

e.g. Postman error: Could not get any response

See if you can open the GET request with a regular browser (like Chrome or Firefox). Recheck the URL to make sure it is valid.

If you are within a corporate network, check with your Network Administrator.

e.g. Github error: Requires authentication

Make sure you select the authorization helper called "Bearer token" and provide the environment variable Token. Check that Postman resolves the value by hovering with the mouse over the name of the variable. If the variable value is not displayed, make sure the environment is selected.

e.g. Github error: Bad credentials

Make sure you have copied the right access token and that your token does not contain spaces or any other characters. If the issue persists, try generating a new token.

Music credits
-------------
Aaron Kenny - English Country Garden

Contact us:
If you have questions or comments about any Postman features, pricing, or anything else, our team is always ready. Simply visit our Support Center to get started:
Рекомендации по теме
Комментарии
Автор

Thank You!! Very clear and helpful, just what the toddlers need to get started.

danielconford
Автор

Did github change their ways? the Json code to post (and therefore create the repo) does not return the code 201. It returns 200. When I checked my repos I noticed it wasn't there either so why isn't working?

sergio.pessegueiro
Автор

This tutorial rocks - couldn't find this info anywhere. Thanks, man!

shazbool
Автор

Thank you so much!!! Very useful tutorial with step by step info.

maitrayeedevi
Автор

Thank you for this awesome, very clear, step-by-step tutorial!

gp__mmm
Автор

Iam getting 403 forbidden error plz help me

touqeershariff
Автор

Hi, the first time I tried it, it worked perfectly. But then, I received a 403 Forbidden response. Could you please help as I am new to Postman and APIs ?

pawank.c.
Автор

how do i send json data in postman to our specified gmail ....can you help me with that which api shud i use

varshadustakar
Автор

How to use Oauth token 2.0 for all API from collection automatically ?

sagarbobade
Автор

when i am sending post request i got 200 OK response but your was 201 OK

travelacrossindia
Автор

I can't understand why the Postman team spend so many years and made the most basic functionality completely unusable.
If you have a more complex API? With OAuth tokens?
You have to manually copy-paste these tokens again and again.
Give ability:
On folder level "Authorization":
1. Ability to select existing request which can get the token.
2. Ability to assign returned token value without scripting.
3. It should work authorization inheritance.
Done.
You have selected the most simple auth API for your example, but working with real API using Postman is really painful. (It doesn't mean that other tools are easier), but your tool evolving too slow.

stouneua
Автор

I followed this and got a Status 200 OK as opposed to a 201 Created. Is there something that I missed? Any thoughts or input would be appreciated. Thanks!

rossnicholls
Автор

How to get Authorization token through Postman?

shilpasoodkumar
welcome to shbcf.ru