OK, nevermind. I have compared the POST-Request from my app and Postman and learned out that request from the app was faulty. I should send the filername as content disposition for StreamContent and not as separate part of multipart content.
After I added Content disposition header value, the response is now correct.
The topic can be marked as solved.