Multipart Form Data HTTP Request

I need to make a custom request like below in my backend. It is a “multipart/form-data” content-type that I do not know how to replicate in Appgyver. Making the request using other tools (Postman) works.

Anyone know how to achieve this?

POST https://mybackend.com.br/odata/Inventario/Upload
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryqkUV1DmTvRjvE0Li

------WebKitFormBoundaryqkUV1DmTvRjvE0Li
Content-Disposition: form-data; name=“file”; filename=“arq01.txt”
Content-Type: text/plain

2061204
2061202
2061203
------WebKitFormBoundaryqkUV1DmTvRjvE0Li
Content-Disposition: form-data; name=“Secao”

{“CodigoInventario”:120,“NomeSecao”:“ARQ 02”}
------WebKitFormBoundaryqkUV1DmTvRjvE0Li–

Hi! As per your previous thread and this one, you will need a custom js function to do the multipart/form-data request. There are examples in both, hope that helps :slight_smile: