Quote:
Originally Posted by richardhall Thats basically the same as with the @ sign in front. Returns nothing. I'm posting XML data not form data if that makes any difference. |
Yes it does. The encoding type is critical. For example forms need to be application/x-www-form-urlencoded not multipart/form-data. Anyway, try changing Content-Type:application/xml to Content-Type:text/xml on your HTTP POST.
Edit:
Actually a bit more poking aound shows changing the Content-Type probably won't sort it but it's worth a shot. Either way php://input is the what you want.