1

About Sending Messages

Hello, I want to send a Multiple rows message. I use Yahoo Messenger to send a a Multiple rows message to my program. Find the message is : "msg":"Row1\rRow2" But I use my program send this text to server. server return error java.io.IOException: Server returned HTTP response code: 400

If send single row is OK. Does anybody has this problem? Please help me !

Thank you!

by
4 Replies
  • Can you paste the entire http request with complete payload and response ? Its possible the payload was invalid json or some misspelled parameter was passed in.

    0
  • If i send json str {"message":"Row1Row2"} is OK. If send json str {"message":"Row1\rRow2"} is get 400 error.

    Thanks Nirmal Thangaraj for your Reply!!

    0
  • I know that.

    Use this json {"message":"Row1\rRow2"} success.

    Thanks!

    0
  • {"message":"Row1\rRow2"}

    double \

    0

Recent Posts

in Messenger IM SDK