Hi Ganesh,
To change the contentType you need to use the HTTP_AAE adapter: New adapter HTTP_AAE in PI 7.3, What is your PI version?
If you are sending a huge message this note can be helpful for you 807000 - Http requests are not fully read after timeout
Regards.