POSTMAN is a collaboration platform for API development. Postman's features simplify each step of building an API and streamline collaboration so you can create better APIs—faster. Thanks to its affordable pricing, most users now will integrate Postman along with their PBX applications for building an API.
Grandstream's IP PBX supports API integrations, including HTTPS API, CDRAPI, and REC
API. While integrating UCM with POSTMAN, one might face issues, and one of the most common issues is -
401 Unauthorized Error in POSTMAN
GET request was done with the correct CDRAPI URL format as per this CDRAPI guide from the Grandstream website.
Now let's look back at the configurations -
API port 8443 was used and the IP address has been whitelisted under Permitted IP(s).
Digest Authentication was used and credentials are correct. So... why is there a 401Unauthorized Error?
Cause:
It was found out that the user is using Postman for Chrome. Postman for Chrome requires users to import generate their own SSL certificates and import them into Postman for it to be used.
Unfortunately, there is no way to disable using an SSL certificate in Postman for Chrome.
Solution:
Use Postman for Windows/macOS/Linux(64). The advantage of using Postman for Windows is that it allows users to disable SSL certification verification.
Comments