how to send push JSON to urban airship server using api
Posted
by
Viswa
on Stack Overflow
See other posts from Stack Overflow
or by Viswa
Published on 2012-11-22T10:43:01Z
Indexed on
2012/11/22
11:00 UTC
Read the original article
Hit count: 320
I am using urban airship for sending push notification, i finished all configuration in my app and i can send notification from urban airship website.
Now i have to request urban airship api for sending push notification (using this " https://go.urbanairship.com/api/push/") URL and i have send json like this
{
"apids": [
"some APID",
"another APID"
],
"aliases": ["my_alias"],
"tags": ["tag1", "tag2"],
"android": {
"alert": "Hello from Urban Airship!",
"extra": {"a_key":"a_value"}
}
}
i want to send push notification for single device, i think i have to do this using APID, isn't it?.
© Stack Overflow or respective owner