Apple push notification needs certificates on server side, and common virtual space online are not support the php stream r/w, such as of aliyun netcn.
Umeng provided the push interface, however, it needs to post a json to its rest api endpoint.
However, not cross-domain permitted, AJAX is NG. Needing json, common form enctype is NG as well.
Finally, set enctype as plain text, may some how solve this problem. Now I can send Apple Push online now, only with a html space!
本文讨论了在PHP环境中使用Umeng提供的推送接口发送Apple Push通知时遇到的跨域问题,通过设置请求类型为plaintext成功解决。
1976

被折叠的 条评论
为什么被折叠?



