-
-
Notifications
You must be signed in to change notification settings - Fork 191
API
dongsheng edited this page Mar 26, 2012
·
13 revisions
Request URL: http://localhost:8000/notifications/
Accept:application/json
Host:localhost:8000
X-AN-APP-ID: 2
X-AN-APP-KEY: XXX
alert=notification+message&token=xxxxxxxxxxxxxxxxxxxxxxxx
HTTP/1.1 200 OK
Content-Length: 16
X-Powered-By: AirNotifier/1.0
Content-Type: application/json; charset=utf-8
Server: TornadoServer/2.2
{"status": "ok"}
Request URL: http://localhost:8000/tokens/xxxxxxxxxxxxxxxxxxxxxxxx
Accept:application/json
Host:localhost:8000
X-AN-APP-ID: 2
X-AN-APP-KEY: XXX
HTTP/1.1 200 OK
Content-Length: 16
X-Powered-By: AirNotifier/1.0
Content-Type: application/json; charset=utf-8
Server: TornadoServer/2.2
{"status": "ok"}
Request URL: http://localhost:8000/tokens/xxxxxxxxxxxxxxxxxxxxxxxx
Accept:application/json
Host:localhost:8000
X-AN-APP-ID: 2
X-AN-APP-KEY: XXX
HTTP/1.1 200 OK
Content-Length: 16
X-Powered-By: AirNotifier/1.0
Content-Type: application/json; charset=utf-8
Server: TornadoServer/2.2
{"status": "ok"}