Any Documentation with an endpoint should have a `curl` example!
| Originator: | mc | ||
| Number: | rdar://17781178 | Date Originated: | 2014-07-23 |
| Status: | Open | Resolved: | |
| Product: | Documentation | Product Version: | |
| Classification: | UI/Usability | Reproducible: | Always |
See https://devforums.apple.com/message/1010479#1010479
Specifically, Jack speaks about https://github.com/surrealroad/Safari-Push-Notifications/blob/master/index.php#L156. I personally cannot figure out a
curl -X POST -H "Content-Type: body=application/json" -d '{"logs":["foo"]}' https://example.com/v1/log
that Apple would send to that. I will post a bug report that in the case of
https://developer.apple.com/library/prerelease/mac/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/PushNotifications/PushNotifications.html#//apple_ref/doc/uid/TP40013225-CH3-SW1
a curl example should be posted.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!