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 revisionLast revisionBoth sides next revision | ||
dev:app_store_example_with_postman [2016/08/11 14:55] – su | dev:app_store_example_with_postman [2020/11/23 14:37] – 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: | ||
+ | |||
+ | {{ : | ||
^ Auth %%URL%% | %%https:// | ^ Auth %%URL%% | %%https:// | ||
Line 43: | Line 49: | ||
This returns an Access Token. | This returns an Access Token. | ||
- | {{ : | + | {{ : |
Select "Use Token", | Select "Use Token", | ||
- | {{ : | + | {{ : |
Line 56: | Line 62: | ||
For more info, see **[[Dev: | For more info, see **[[Dev: | ||
- | Postman exposes the parameters required to make an OAuth2 authorization request. Your application | + | Postman exposes the parameters required to make an OAuth2 authorization request. Your application |
Finally, we used App Store as a means of authenticating users and presenting user-information. However, there is an extensive %%API%% available, including methods for user-account debiting and real-time process-data interrogation. For more info, see **[[https:// | Finally, we used App Store as a means of authenticating users and presenting user-information. However, there is an extensive %%API%% available, including methods for user-account debiting and real-time process-data interrogation. For more info, see **[[https:// |
dev/app_store_example_with_postman.txt · Last modified: 2020/12/03 09:32 by su