Using API Portal 10.3 | API Portal Provider's Guide | Using and Testing APIs | Testing a JWT protected API
 
Testing a JWT protected API
JSON Web Token (JWT) is an open standard that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed.
When a JWT protected API is published from API Gateway to API Portal you require a JWT access token to test the API.
* To test a JWT protected API
1. Switch to the API Gallery page.
Alternatively, go to the Home page and type the beginning of the API name in the search box.
2. Click View details for an API.
The API Details page opens.
3. Click Get access token if you are accessing the API for the first time, else proceed to step 6.
4. In the Request API access token dialog box, provide the Application name and Application description.
The application is created and listed in the Applications page.
5. Click Request token.
6. In the API details page, click Try API.
The application is listed in the Try API page.
7. Click Get JSON Web token.
This option is available if the API is JWT protected and you have requested an application to access the API.
8. Type the API Gateway Administrator credentials in the Basic Authentication dialog box
9. Click OK.
A token is generated and is listed under the available token list. An Authorization header is added along with the access token value.
10. Select the access token and click Test.
The response is displayed

Copyright © 2014- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.