Word Documents corrupt using REST service

Hi, Currently I am working on an app where users can upload documents through a different website. We've set up a REST interface (POST operation) to enable this. Whenever we call this endpoint, both through the website and postman, the documents come through like they should and get downloaded properly. However, when you open the documents in Word you get an error: In the REST service and the microflow we do not alter the document in any way. If you click yes in the error message you will see the correct content of the document Does anyone have any experience with this type ofer error and what can we do to solve this?
1 answers

I would double check by creating a hash for this document before and after to really check if the document has not been altered. And if it is altered elaborate on how exactly the webservice works.