In .net-framework I was getting a file as a stream from the GET request and I was using the same stream in the POST request the code worked without any problem but when I tr