how to send an attachment from servicenow to third party application using multiform curl.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2022 02:55 AM
Hi,
I am trying to sending an attachment from ServiceNow to third-party application when we create an incident.
I received the request body and api as well, but how could i configure in http method in rest message, could you please help me and please let me know if you required any information
Sample request:
curl -v -u user@company.com:test -F 'attachments[]=@/Users/user/Desktop/api2.png' -F 'priority=3' -X PUT 'https://domain.com/api/v2/tickets/32'
Thanks
Naga
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2022 02:08 AM
Share the script and screenshots.
Regards
Ankur
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader