Help on Script to send attachment through REST as multipart/form data

yad_achyut
Giga Guru

Hello All,

Can anyone tell me step script to send an attachment as multipart/form data via REST ??

10 REPLIES 10

yad_achyut
Giga Guru

I need help on sending an attachments when they are been added to the RITM.
The only problem is that it needs to be send in Multi/Part form data. i am unable to achieve this requirement can you please help me on the script that can be used on this ?

yad_achyut
Giga Guru

@Ankur Bawiskar  Can you please help me on this part ?

@yad_achyut 

check these links

Multipart/form-data attachment pusg using Rest API from Snow->Jira 

Outbound REST - Multipart/form-data 

REST API attachments Transfer to JIRA 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Thanks for your response but i have to use a mid server and i need to send to a 3rd party app if you can help with some code snippet it will be really helpful as i have gone through the links you have shared but the havent solved my purpose.