[Solved] Flash a Device with a pre-compiled binary using POSTMAN

Dear All,

I was trying to post a pre-compiled firmware app using POSTMAN, but i keep getting the following error
“error”: “invalid_request”,
“error_description”: “Error: content-type missing boundary: null”

PUT https://api.particle.io/v1/devices/device?access_token=access_token

Content-Type multipart/form-data

BODY binary

file name: firmware.bin

It’s working fine from curl

Any idea why it’s not working?

Thank for your help

Changed the the Body from “binary” to “form-date” and added a key “file” and set the value to the file “firmware.bin”

Hope this will help others that might run into the same problem