Skip to content

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

@zhangzk

Description

@zhangzk

烦请博主解答下:

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

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

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions