How to send the attachment from postman tool to servicenow?

Snehal Madakatt
Mega Sage

Hi All,

 

Can someone help me on how to send attachment from postman tool to servicenow?

I am able to send the attachment from the API rest explorer, but not able to send attachment from postman tool.

 

SnehalMadakatt_0-1685357068502.pngSnehalMadakatt_1-1685357094809.png

Error Response:

SnehalMadakatt_2-1685357124685.png

 

1 ACCEPTED SOLUTION

Snehal Madakatt
Mega Sage

Hi, 

 

Below is how we can add attachment from postman to servicenow:

SnehalMadakatt_0-1685425610264.pngSnehalMadakatt_1-1685425643854.pngSnehalMadakatt_2-1685425676147.pngSnehalMadakatt_3-1685425701571.pngSnehalMadakatt_4-1685427892416.png

First test the attachment sending from API explorer, then use the same details in the postman. It works. Let me know if there is any other way to do the same.

 

Hope it helps.

 

Regards,

Snehal

View solution in original post

3 REPLIES 3

Community Alums
Not applicable

Ankur Bawiskar
Tera Patron
Tera Patron

@Snehal Madakatt 

what's your actual requirement?

if you are looking for business use-case then 3rd party won't use Postman to send the file.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Snehal Madakatt
Mega Sage

Hi, 

 

Below is how we can add attachment from postman to servicenow:

SnehalMadakatt_0-1685425610264.pngSnehalMadakatt_1-1685425643854.pngSnehalMadakatt_2-1685425676147.pngSnehalMadakatt_3-1685425701571.pngSnehalMadakatt_4-1685427892416.png

First test the attachment sending from API explorer, then use the same details in the postman. It works. Let me know if there is any other way to do the same.

 

Hope it helps.

 

Regards,

Snehal