How to test ServiceNow Rest API for attachment using POSTMAN.

AjayI7527126430
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

newhand
Mega Sage

Ankur Bawiskar
Tera Patron

@AjayI7527126430 

are you using correct basic auth credentials?

Yes Ankur I am using correct Basic Auth credentials.

@AjayI7527126430 

since you said instance is in VPN i.e. firewall then I believe you cannot test it via postman