Testing requests on REST API in Postman: Difference between revisions

From Planfix
Jump to: navigation, search
(Created page with "{{#seo: |title=Testing REST API requests in Postman |titlemode=append |keywords=planfix, API, REST API, testing requests, Postman, REST API in Postman |description=Testing REST API requests in Postman }} 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: https://s.pfx.so/pf/xM/RPduCs.jpg *Paste the link from the...")
 
No edit summary
 
(2 intermediate revisions by one other user not shown)
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:  
Line 14: Line 14:
*Paste the link from the Planfix REST API documentation page and click the "Continue" button:  
*Paste the link from the Planfix REST API documentation page and click the "Continue" button:  


< nowiki > https://help.planfix.com/restapidocs/swagger.json</nowiki >  
<nowiki > https://help.planfix.com/restapidocs/swagger.json</nowiki>  


https://s.pfx.so/pf/yo/Z7ngNr.jpg
https://s.pfx.so/pf/yo/Z7ngNr.jpg
Line 28: Line 28:
*Specify the address for API requests and save the settings:  
*Specify the address for API requests and save the settings:  


https://s.pfx.so/pf/BI/6A2f7m.jpg
https://s.pfx.so/pf/Y6/WKeUBi.jpg


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


< nowiki > https://account_domain/rest</nowiki >  
<nowiki > https://account_domain/rest</nowiki>  


https://s.pfx.so/pf/TJ/Df8rmn.jpg
https://s.pfx.so/pf/TJ/Df8rmn.jpg

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