How to put a file in http request

I have this curl command that I would like to have in node red

curl -X 'POST'
-H 'accept: application/json'
-H 'Content-Type: multipart/form-data'
-F 'file=test.jpg;type=image/jpeg'
-F 'parameters={
"language": "en"

I used POSTMAN to convert it
And the in NodeRed I used the Change Node

Set msg.heardes = {
"accept": "application/json"

Set msg.url ='

but how to do multipart/form-data?
According to the api documentation
file is a string($binary)
parameters is an object : { "language": "en" }

How I can I upload or use local file to convert to binary and also how to pass this in the body.
ps: I am a beginner :slight_smile:

If you have somme example....

Here are some threads that should get you moving...

Here is a complete example...

and here is a bunch of (potential) contrib nodes that may work...

thanks you
I will have a look

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.