Forum Discussion

SKrieger's avatar
SKrieger
Brass Contributor
Jul 04, 2020
Solved

How to upload document data via POSTMAN?

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

 

 

 

  • Just in case somebody run into the same.

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

1 Reply

  • SKrieger's avatar
    SKrieger
    Brass Contributor

    Just in case somebody run into the same.

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

Resources