Error with file upload via HTTP (via Multipart/form-data)

Hi,
I have a problem specifying the form data through Make. When I perform the same task via Postman it is accepted by the API without a problem.

I guess that the root of my problem is the the green rectangle below:

Here’s what the API documentation says:

I hope that someone can let me know what I’m doing wrong in Make.
thanks.

Welcome to the Make community!

You have to send binary data, not a file URL/path.

For more information, see this brand new course/tutorial in the Make Academy on how to use external APIs — API calls with HTTP modules

  • API and Endpoints
  • Header and body
  • Multipart/form-data
  • OAuth 2.0

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

Ah thanks, that’s the one course I haven’t done yet. I will take a look there and get back to you.

The course gave me some clues. For the record, this is how it works OK:

In the HTTP Make a request module, Make automagically offers the option to take the output of HTTP - Get a file as an input to HTTP Make a request :smiley:

Hello Peter i am having the exact same issue you were having i am trying to send a pdf as part of my http request also the same is when i do it in postman it works fine but in make.com it does not allow me to. what was the file type you were trying to send as part of the http make a request module? i am trying to send a pdf

Hi, in my case it was a jpg