Testing the API with Postman
Last updated
Last updated
To test the API with Postman you need to first collect the authorization bearer token.
To send an authenticated request you must set the Authorization
header to Bearer <token you collected>
On the image, the token is saved on a Postman environment variable.
To set this up, click on the eye icon o the top-right corner.
Then click on Environment > Add.
Then add the token you received on the first step to the current value of the token variable.
Don't forget to select the correct environment on the top-right corner.
The easiest way to discover the endpoints of the application is by inspecting the Network tab of the Chrome Developer Tools.
You then copy the Request URL, Request Method, and the Payload.
https://github.com/scaffoldhub/documentation/tree/master/recipes/postman