Testing requests on REST API in Postman: Difference between revisions

From Planfix
Jump to: navigation, search
No edit summary
No edit summary
 
Line 6: Line 6:
}}  
}}  


To test and debug requests via [[REST API]]], use the [https://www.postman.com/ Postman] service. Follow these steps for a successful connection.  
To test and debug requests via [[REST API]], use the [https://www.postman.com/ Postman] service. Follow these steps for a successful connection.  


*Invoke the import of Planfix REST API into Postman:  
*Invoke the import of Planfix REST API into Postman:  

Latest revision as of 08:18, 30 January 2024

To test and debug requests via REST API, use the Postman service. Follow these steps for a successful connection.

  • Invoke the import of Planfix REST API into Postman:

RPduCs.jpg

  • Paste the link from the Planfix REST API documentation page and click the "Continue" button:
 https://help.planfix.com/restapidocs/swagger.json 

Z7ngNr.jpg

  • Then click the "Import" button in the new window:

Bwi1Df.jpg

  • Specify the authorization token from the Planfix REST API section:

liXuMM.jpg

  • Specify the address for API requests and save the settings:

WKeUBi.jpg

Please note that each Planfix account has its address for API requests, which looks like this

 https://account_domain/rest 

Df8rmn.jpg

Now, everything is ready for testing and debugging requests in Postman.

Additional information


Go To