We don't support sending XML bodies... you should use form encoding.



On Wed, Jan 6, 2010 at 5:41 AM, matrixxx <matrri...@gmail.com> wrote:
> When i try to make an post request to 
> http://twitter.com/direct_messages/new.xml
> with data in XML Body, i receive the 500 Internal Server Error.
> The XML body:
> <user>some_user</user>
> <text>some_text</text>
> When i send only the user data (without text data), i receive the 400
> Bad Request error, this mean that POST request is OK, but with some
> missing data.
> What is the correct form of sending user and text data in XML body?

Reply via email to