Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to test ServiceNow Rest API for attachment using POSTMAN.

Ajay95
Tera Contributor

Hi,

 

I need to test ServiceNow Rest API for attachment using POSTMAN as client instances are accessible through VPN only. As their instances are not in public domain.

 

When I tried to sent request using Basic Auth it is going timeout.

 

Note : Instance has SSO enabled.

 

Below REST API I am using to fetch the attachment :

 

Versioned URL:  <SERVICE-NOW>/ api /now/v1/attachment/ {sys_id} /file

 

I am using Postman Desktop application even though it is giving timeout.

 

Can anyone help me with this issue?

5 REPLIES 5

I have also installed POSTMAN desktop application. But not able to send request to instance even though I can access same instance using browser.

 

Do you have any suggestion on this how to procced further?