What I pasted as the request body there was copied from the output of a failed run. I spotted that Flow is adding its own record for the body... However, it still fails with a 403:
Request body as seen in the designer:
{
"$content-type": "multipart/form-data",
"$multipart": [
{
"headers": {
"Content-Disposition": "form-data; name=\"category\""
},
"body": {
"$content": "18"
}
},
{
"headers": {
"Content-Disposition": "form-data; name=\"fileName\""
},
"body": {
"$content": "test.bmp"
}
},
{
"headers": {
"Content-Disposition": "form-data; name=\"share\""
},
"body": {
"$content": "yes"
}
},
{
"headers:": {
"Content-Disposition": "form-data; name = \"file\"; filename=\"test.bmp\""
},
"body": @{body('Get_file_content_using_path')}
}
]
}And as seen in the output of a failed run:
{
"$content-type": "multipart/form-data",
"$multipart": [
{
"headers": {
"Content-Disposition": "form-data; name=\"category\""
},
"body": {
"$content": "18"
}
},
{
"headers": {
"Content-Disposition": "form-data; name=\"fileName\""
},
"body": {
"$content": "test.bmp"
}
},
{
"headers": {
"Content-Disposition": "form-data; name=\"share\""
},
"body": {
"$content": "yes"
}
},
{
"headers:": {
"Content-Disposition": "form-data; name = \"file\"; filename=\"test.bmp\""
},
"body": {
"$content-type": "image/bmp",
"$content": "iVBORw.................Jggg=="
}
}
]
}