Urban Airship - Send Push with NSURLConnection

后端 未结 2 1379
無奈伤痛
無奈伤痛 2021-01-06 11:32

I\'m working on a simple prototype and need to test sending push notifications from one device to another.

I\'ve emailed Urban Airship to turn on the \"Allow Push Fr

2条回答
  •  误落风尘
    2021-01-06 12:00

    Taking a look at Urban Airship's guide to troubleshooting HTTP status codes, and the documentation for the push API, my guess would be that you need to add a trailing slash to the URL:

    [NSURL URLWithString:@"https://go.urbanairship.com/api/push/"]
    

提交回复
热议问题