I try to sent this cURL request via n8n:
curl --location --request POST 'https://..../upload-file/-b0db' \
--header 'x-oc-api-key: .....' \
--header 'Content-Type: multipart/form-data' \
--form 'file=@/test.opus'
I get the binary file from a webhook described in this community.n8n.question .
How dos the corresponding request look like in n8n?
jan
March 23, 2020, 9:51am
2
Sending multi-part binary data is currently sadly not supported:
Hi, I want to send a binary file with a post request, and I need to post it with a form-data multipart option. I am looking for something like we get in postman where we could pass the binary data in form with a key and data being the value of that key.
O.K., good to know. Any plans to implement this feature in the near future?
Hey @jwillmer ,
Just sent a pull request that allows you to send a file using multipart/form-data.
Hopefully, that will help.
1 Like
I don’t understand what you mean. Can you elaborate?
jan
March 27, 2020, 1:52pm
7
He meant that he created a version of n8n which allows to do that. It has however not been merged into n8n. As soon as it got merged and released I will update here.
1 Like
jan
April 3, 2020, 6:35pm
9
Got released with [email protected]
1 Like