Confirmed users
1,021
edits
Line 132: | Line 132: | ||
curl -X PUT --data 'version=5' 'http://mypushserver.com/notificaton/forUserBobAndroidFirefox' | curl -X PUT --data 'version=5' 'http://mypushserver.com/notificaton/forUserBobAndroidFirefox' | ||
curl -X PUT --data 'version=5' 'http://mypushserver.com/notificaton/forUserBobBMWBoombox' | curl -X PUT --data 'version=5' 'http://mypushserver.com/notificaton/forUserBobBMWBoombox' | ||
How you associate endpoints to a given user is out of scope for this. You could have your own UserID that you use to map endpoints. Your client app could send both the old and new endpoints for an update, and you swap them in your data store. | |||
== DOM Interface == | == DOM Interface == |