Accesing binary file from a webhook to http request

I am new to n8n. Just started exploring some workflows. I am uploading a pdf file using webhook and then passing it along to a http request node. I can see the file in the input side of http request node but the binary file is not accesed by the http node. it says Bad request - please check your parameters.

i have checked the input data field name. I am attaching a screenshot here.

No file uploaded

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): cloud
  • **Operating system:**macOs

OK i got the answer after some hit and trial. I am supposed to select Form-data in body content type and not n8n Binary file. Attaching a screenshot of the correct setting. :victory_hand:

2 Likes