How to extract data from a multipart/form-data body in a Scripted REST API to attach a file to a rec

snow01
Tera Contributor

I am configuring a scripted REST API to attach a file from another instance to ServiceNow. The other interface sends me the data in the request body as multipart/form-data, but I am unable to retrieve the different pieces of data from the body.
Do you have any idea how I can achieve this?

1 REPLY 1

snow01
Tera Contributor

.