in reply to Re^6: What can be the reasons for bad request ??
in thread What can be the reasons for bad request ??
I am not working with any SDK as I'm writing in php and they dont have anything available.
I was able to solve the problem by adding this to the custom headers (before the xml)
Connection: close \r\n\r\n
Good luck!