How to test DIGI service with Postman

Step 1 - Login

Login or register your account at digi.costpocket.com

You will receive a one time usable link to your email, which will direct you to the DIGI Portal.

Step 2 - Token

In the DIGI Portal, find your first token. Copy this token, we will need it.

Step 3 - Postman

Go to Postman, create a new request and enter the needed parameters:

  • API url endpoint from our documentation.
  • In headers, enter key "Authorization" and value in format "Bearer your-token-here"

Step 4 - Image

  • Go to "Body"
  • Choose "form-type" as payload type
  • Choose "file" as input type
  • Enter key "image"
  • Upload your image as value
  • Click "Send". Wait a few seconds and see your result!

All done!

After this, make more requests, test the service in some other environment or integrate into your code (see more tutorials below)!

Was this article helpful?
Related resources: