[Multipart/form-data] Need help in Multipart/form-data

Forge Component
(6)
Published on 2019-09-06 by João Barata
6 votes
Published on 2019-09-06 by João Barata

i have an API URL with all required Parameters and in the body should post the file as "form-data" which is only way accepted in the API:

in postman working perfectly, but i couldn't reach to solution in outsystems to post the file as "form-data"

the API doesn't accept Binary or other method, only "form-data"

this is the header which automatically gotten by postman


the body as you can see i can write any key and attach file



Hi Abdulmuiz,

OutSystems does not support multipart/form-data. However, the Multipart/form-data plugin allows to achieve it. Read this nicely documented article by Kilian to learn about it https://itnext.io/consuming-a-multipart-form-data-rest-method-with-outsystems-c466e404118d

Regards,

Swatantra