Advertisement
Guest User

text

a guest
Apr 7th, 2015
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.62 KB | None | 0 0
  1. curl -X "POST" "https://xxxxxxxxxxxxxxx" \                                           [16:23:05]
  2.     -H "Accept: application/xxxxxxxxxxxxxxx; version=3;" \
  3.     -H "Authorization: Basic xxxxxxxxxxxxxxx" \
  4.     -H "Content-Type: application/json" \
  5.     -d $'{
  6. "audience": "all",
  7. "notification": {
  8.   "alert": "xxxxxxxxxxxxxxx",
  9.   "ios": {
  10.     "extra": {
  11.       "obj_type": "xxxxxxxxxxxxxxx",
  12.       "obj_id": 100
  13.     }
  14.   },
  15.   "android":  {
  16.     "extra": {
  17.       "obj_type": "xxxxxxxxxxxxxxx",
  18.       "obj_id": 100
  19.     }
  20.   }
  21. },
  22. "options": {
  23.   "expiry": "2020-04-01T12:00:00"
  24. },
  25. "device_types": @"all"
  26. }'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement