SOLVED

How to upload document data via POSTMAN?

New Contributor

Hello,

 

i am prototyping with universal printing for a Dynamics 365 warehouse label printing solution.

I am struggeling to upload my document to a print job via POSTMAN.

Die "binary" function with an pdf returns "bad request".

How can I upload an document correctly?

 

Thanks,

Stefan

body.png

 

headers.png

 

 

1 Reply
best response confirmed by SKrieger (New Contributor)
Solution

Just in case somebody run into the same.

The content-type must be set to "application/octet-stream" not "application/json".