stephaniestroka/trucker
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This is your new Play application ================================= 1: Download activator from https://downloads.typesafe.com/typesafe-activator/1.3.10/typesafe-activator-1.3.10-minimal.zip 2. Run with activator ~run 2. Access http://localhost:9000 To use the push notification service, follow these steps: 1. Register device by sending the following HTTP message: POST /register Host: localhost Content-Type: application/json { "identifier" : "johnny@digitalid.net", "token" : "JDFOKSGJjoiOIGFDFGJ..." } 2. Send a request to the path: PUT /push/send/login/johnny@digitalid.net Host: localhost PUT /push/send/speeding/johnny@digitalid.net Host: localhost PUT /push/send/takebreak/johnny@digitalid.net Host: localhost