Send a Request to Yeastar P-Series Software Edition API with Postman
This topic introduces how to send a request to Yeastar P-Series Software Edition API using Postman.
Prerequisites
Procedure
- Sign in to Postman.
- At the top-left corner of the workbench, click to open a new request tab.
- Compose and send an API request.
Illustration Instruction This example demonstrates how to send a POST request to obtain an access token, which is mandatory for the subsequent API requests. -
In the request method drop-down list, select POST.
- In the request field, enter the request URL of
the API interface.
In this example, enter the request URL of Get Access Token.
- Click , and enter the request parameters of the API interface.
- Click Send.
The response is displayed at the bottom of the workbench. In this example, an access token and a refresh token are returned.
This example demonstrates how to send a GET request to obtain the extension list information. - In the request method drop-down list, select GET.
- In the request field, enter the request URL of
the API interface.
In this example, enter the request URL of Query Extension List.
- In the Params tab, enter the request parameters of the API interface.
- Click Send.
The response is displayed at the bottom of the workbench. In this example, the extension list is returned.
-