Sent File Using Postman

Hi There,

I currently have the following that sends data into an external system. I would like to know if itโ€™s possible to send a file across and if so how, and what would my JSON object then look like?

{
   "data":{
      "form":"1001",
      "company":"12345",
      "title":"Sending File",
      "attachment":"test_file"
   }
} 

Many Thanks!

Hi @dmcs_44

File uploads in Postman need to be done using the form-data body type:

Hi John-Paul,

Thanks for the input. Where would I put my json object text like shown above? Or simply use key / value entries?

Thanks!

Hi @dmcs_44. Yes, it would need to be sent as key/value entries.