How to make Form-Data Request in Xano?

I need to make a Request to Domonda API to Upload a PDF.

I cant make this work. First I tried to import the cURL from Postman which didnt work. Then I tried a lambda with axios and form-data. But I think there is no form-data library installed so it didnt work and I tried it with fetch and it didnt work.

So how are you guys making Form-Data Requests. For Domonda API the file key needs to be "document" and the form also needs at least two additional fields "documentCategory" and "waitForExtraction". Any Ideas?

Links:

https://domonda.github.io/api/doc/schema/query.doc.html

https://github.com/domonda/api?tab=readme-ov-file#file-uploads

https://academy.domonda.com/academy/how-to-pass-the-booking-line-via-api

Working with APIs
1 reply