Postman is an API Collaboration Platform.
EBOD offers several Postman Collections and Environments (JSON files) for a quicker and easier usage of our RESTful APIs.
You only need to import and set up with your own API and secret keys to begin.
-
Download the
ebod-api-postmanrepository. -
Click the
Importbutton. On Postman for Mac, for example, the button is at the top left:
-
On the
Importpop-up page, select theFoldertab. Click theChoose folder from your computerbutton and choose the root folder of the downloaded repository.
-
Select which collections and environments you would like to import and click the
Importbutton.
-
Select the
Collectionstab on the left, choose anEBOD API, then selectAuthorizationtab and selectBearer Tokentype and set your Token by changing theToken valueinput (see screenshot);
The following practices are advised to secure your account's safety:
- Don't use Collections obtained from an unknown source.
- Review the environment JSON file before its usage.
- Don't use any code that you don't understand.
- When you finish trying out the API, delete your API keys.
Q: Why I can't get any response?
You haven't imported the environment file or you've imported it but haven't selected it from the dropdown menu (mentioned in [[How to import and configure]])
Q: How can I debug a request or find the used URL?
- Open the Postman's console to find requests' parameters and URL.
- Debugging can be done by editing the
Pre-request Scripttab.
Q: Error Forbidden
Likely causes:
- Authorization header is not set.
- API key is not set.
- API key is not correct.
Q: Error Invalid input data or Invalid event type
Please refer to the API documentation to double check all the mandatory parameters.
If you don't find your answer here, please consult https://discord.gg/SyejrseM for similar questions from the API support discord group or open an issue https://github.com/bod-digital/ebod-api-postman/issues.