Postman is an API platform to help developers design and test APIs. Postman is an alternative to run Yuno API requests using Readme.io. You can download Postman here for Linux, Windows, or Mac or use it through your web browser.
Here, you find how to import the Yuno Collection and Environment. All endpoints on the API Reference are available on the Postman collection provided so that you can test Yuno services on your machine.
Before testing the endpoints, you need to fork the Yuno collection to your Postman account.
- Access the Yuno Postman collection.
- Select the following Run in Postman button.
- Select if you want to run Postman on your Browser or using the Postman app.
- Sign up or log in to a Postman account.
- Select a workspace to import the collection and environment into.
Collections and environment
The collections provided configured endpoint requests.
The enviroments provide a list of variables used by the endpoints. Instead of defining values for each parameter each time you perform a request, you can use the enviroment variables.
Before start testing the endpoint, you need to configure the environment variables. Otherwise, the requests will fail.
- Access Environments on the left panel.
- Select the Yuno Sbx - Postman environment provided by yuno.
Update the variable's values. To start testing, you need to update at least the
Define Yuno Sbx - Postman as the environment using the No Environment selector at the top right corner.
The Yuno Sbx - Postman environment has an extensive list of variables used on all requests inside the collection. You can define their values as you try new endpoints.
You can start testing the endpoint after selecting the environment and defining the variable values.
- Select the Yuno - Collection on the Collections tab.
- Choose an endpoint.
- Provide the necessary values to the parameters available on the Headers and Body tabs.
- Use the Send button to perform the request to Yuno's server.
In the Yuno Collection, various parameters are considered as variables. These values can be defined in the environment or upon receiving a response from the server. Postman variables aid in testing different endpoints in a sequence as the values received fill in the body parameters for the subsequent request.
Updated 3 months ago