Hello @Sarah Cummings - Thanks for reaching out, and posting on the MS Q&A. I'm looking into your use case and will share my findings shortly.
UPDATE: You would add another JSON object (describing the second file) to the $multipart array such that the entire JSON would look as follows:
{
"$content-type": "multipart/form-data",
"$multipart": [
{
"body": "contents of a file 1",
"headers": {
"Content-Disposition": "form-data; name=\"file1\"; filename=\"file1_name.txt\"",
"Content-type":"text/plain"
}
},
{
"body": "contents of a file 2",
"headers": {
"Content-Disposition": "form-data; name=\"file2\"; filename=\"file2_name.txt\"",
"Content-type":"text/plain"
}
}
]
}
Please "Accept Answer" if the answer is helpful so that others in the community may benefit from your experience.