Hi Team,
I have an requirement where consumer send image as base 64 but my target accepting it as multipart/form data stream.
Apigee Sample request:
{
"filename": "test",
"imagebase64": "iVBORw0KGgoAAAANSUhEUgAAANgAAg9ITbiU/2OEnAAAAABJRU5ErkJggg=="
}
Target Sample request:
curl -i -X POST \
-H "Content-Type:multipart/form-data" \
-F "filename=69607" \
-F "gallery[0]=@\"./filename.png\";type=image/png;filename=\"filename.png\"" \
'https://***/**'