postman-set-up
Prerequisites
- Ask the Codefi team to give you a credential file called
demo.codefi.json
containing environment variables (URLs, API keys, etc.) for accessing the API. - Download the Postman desktop app for running HTTP requests and testing APIs.
Running Postman
Click on the Run in Postman button. This imports the Assets API documentation into the Postman app.
Click on Postman for Mac if you have a Mac.
Postman launches and the Codefi API appears in the collections on the left.
To the left of the Collection, click on the Environments option. This opens a window with all your environments.
Postman automatically extracts the relevant variables from the request responses and saves them in environment variables. :::
Import credentials
- Click on Import, then Upload Files and import the
demo.codefi.json
file. - Now select the imported file by choosing
demo.codefi
in the drop-down environments menu in the top right. - That's it! You are ready to test the API by following the quick start information.