【发布时间】:2012-12-11 18:08:54
【问题描述】:
根据 Lars Vogel 的指南和 android 开发者博客,我已经设置了客户端并获得了“token/registration_ID”...
But i want to test this before going onwards with the server part, so i was thinking of testing it with Advanced Rest Client which when choosing POST method looks like this:
现在考虑到我需要发送的不同方面: registration_id,collapse_key,data.,delay_while_idle,授权:GoogleLogin auth=[AUTH_TOKEN]。
我如何编写这些以便在标题/正文中正确发送它以及什么语法?我看到人们的服务器代码用 & 分隔东西,是这样完成的吗?
编辑:
这样尝试,得到 0 作为响应...
【问题讨论】:
-
你可以使用 CURL 命令来测试提议
-
是的,CURL 看起来也不错。
标签: android http android-c2dm