Skip to content

Instantly share code, notes, and snippets.

@edewit
Created June 30, 2014 09:26
Show Gist options
  • Save edewit/d3e677abc06354a7bb86 to your computer and use it in GitHub Desktop.
Save edewit/d3e677abc06354a7bb86 to your computer and use it in GitHub Desktop.
Device registration UPS curl
curl -u 19614a6d-94a4-4788-a0bb-9d559f841b58:221610d0-4668-4379-9db7-29a086c98793 -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"deviceToken":"BSPA91bGDWDdl-xW3EmSs2bH7Qlo5AOfbCJtmyOukYxVHq8KKUqpPLBLUjettGYoN2nahBbAe3GgmxKPcZnqEIFFxHw3_brKOSmeXjZQuEVehSJTUdJuXUCmR3XweZ2MM_455fYMcvkUse1DIp1wjxnik2uHYSNl87wrJzLddoC7tPp-gch3eJAf","alias":"bob","categories":["lead"],"deviceType" : "iPhone", "operatingSystem" : "iOS", "osVersion" : "6.1.2"}' http://localhost:8080/ag-push/rest/registry/device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment