How to test DIGI service in our website with Swagger

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 - Authorize

Click "Authorize" and enter your token in format "Bearer your-token-here". Then click "Authorize" and "Close".

Step 4 - Pick endpoint

Select the endpoint you would like to test. Click on it and then click "Try it out"

Step 5 - Execute

Upload your document and click "Execute". 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: