Avoid multipart encoded bug by setting request body instead of generatin...

...g multipart request