rs / pushd

Blazing fast multi-protocol mobile and web push notification service
MIT License
1.16k stars 224 forks source link

proto=http registration fails #88

Closed bhatvv closed 9 years ago

bhatvv commented 9 years ago

Hi, I am trying to register using proto=http, getting error as "error: Creating subscriber failed: Invalid value for `token'" what should be the token value? the curl command which I have used

curl -d proto=http -d token=F57a50840-69e8-11e4-baca-ffa7307dbb18 -d lang=fr -d badge=0 -d category=show -d contentAvailable=true -d http://myurl/subscribers

Thanks in advance..

Thanks, Vinayak

rs commented 9 years ago

The token should be the URL to call back in this case.

bhatvv commented 9 years ago

thank you very much it worked.