how to send push JSON to urban airship server using api
- by Viswa
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?.