Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

消息内容包含引号导致400错误 #2

Open
zhangzk opened this issue May 15, 2013 · 1 comment
Open

消息内容包含引号导致400错误 #2

zhangzk opened this issue May 15, 2013 · 1 comment

Comments

@zhangzk
Copy link

zhangzk commented May 15, 2013

烦请博主解答下:

使用Java来实现百度云推送的时候,存在如下现象

如下内容发透传消息失败:
{"id":9,"type":9,"title":"A","content":"花花太花花开始关注你的了。"}

如果把消息内容稍加修改(去掉最后的})就可以发送成功:

{"id":9,"type":9,"title":"A","content":"花花太花花开始关注你的了。"

由于不太懂python,装pycurl失败了,所以没法验证下博主的python版本是否也存在类似问题呢?

@barbarachou
Copy link

大神这是什么诡异的情况。。。这语法都错了。。但是你是怎么发现可以这样的。。太神奇了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants