REST API

Testing and Developing

A great client for testing RESTful APIs is Postman. You can grab a copy of postman here: https://www.getpostman.com/

 

Steps to Make basic testing

  1. Create your own API Application


  2. Copy and store in a safe place the "Client Credentials" provided by the PBX


  3. Configure Postman for Authentication (e.g OAuth 2.0) using the information's received in step 2



    If everything is correct, Token is exchanged.


    Click on "Use Token" to allow Postman to start using token.

  4. With the System set this way, fill the GET field in Postman to send your test REST request.


  5. Congratulations! Everything works! You now have the ability to start testing your REST API interaction.

Return to Documentation Home I Return to Sangoma Support