Using Postman to call the REST API
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2020 06:01 PM - last edited on 04-08-2022 05:16 PM by mimperiali
Calling the REST API can be done with a wide range of tools. In this post we explain how to leverage postman to make HTTP request to the API.
The main steps to use postman with the HOPEX REST API are :
- Download postman
- Download postman collection that contains all the endpoints
- Import the collection in postman (replace or copy when prompted)
- Download the environments variables (file is located on this post Sample.postman_environment.zip) to be resolve for the endpoints : URL, login, password...
- Import the environments variables (replace or copy if prompted)
- Fill(in the variables with the value applicable for your installation
- Execute the fist HTTP request to get an UAS bearer token
- Call the SDL schema and save the file to add in postman API
- Use any of the endpoints to build you graphQL queries
Below a video explain how to do it :
1 Reply
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2020 01:18 AM
Hi,
The "Run in Postman" on the Download Postman collection page button does not seem to be working. Is there another way to get the GraphQL schema?
Thanks.
