dev:app_store_example_with_postman
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dev:app_store_example_with_postman [2016/08/24 09:46] – su | dev:app_store_example_with_postman [2020/12/03 09:32] (current) – su | ||
---|---|---|---|
Line 16: | Line 16: | ||
//This returns info about the logged-in user.// | //This returns info about the logged-in user.// | ||
- | {{ : | + | {{ : |
If you attempt to execute this directly, you will receive an unauthorized error like the following: | If you attempt to execute this directly, you will receive an unauthorized error like the following: | ||
Line 28: | Line 28: | ||
This is because the App Store %%API%% is secured using OAuth2. | This is because the App Store %%API%% is secured using OAuth2. | ||
- | To prepare an authorization request, select | + | To prepare an authorization request, select: **Authorization |
- | {{ :dev:postman02.png? | + | Specify "add authorization data to request headers" |
+ | |||
+ | {{ :dev:postman01b.png? | ||
+ | |||
+ | Then click **Get New Access Token**. | ||
You will be prompted for the following Authorization parameters: | You will be prompted for the following Authorization parameters: | ||
+ | {{ : | ||
+ | |||
+ | ^ Grant Type | Authorization Code | | ||
+ | ^ Call Back %%URL%% | %%https:// | ||
^ Auth %%URL%% | %%https:// | ^ Auth %%URL%% | %%https:// | ||
^ Access Token %%URL%% | %%https:// | ^ Access Token %%URL%% | %%https:// | ||
Line 39: | Line 47: | ||
^ Client Secret | [We'll give you this if you ask] | | ^ Client Secret | [We'll give you this if you ask] | | ||
^ Scope | %%UserInfo%% | | ^ Scope | %%UserInfo%% | | ||
- | ^ Grant Type | Authorization Code | | + | ^ Client Authentication| Send as Basic Auth header |
This returns an Access Token. | This returns an Access Token. | ||
- | {{ : | + | {{ : |
Select "Use Token", | Select "Use Token", | ||
- | {{ : | + | {{ : |
dev/app_store_example_with_postman.txt · Last modified: 2020/12/03 09:32 by su