Closed TomasNilsson closed 9 years ago
Comment by tomas-nilsson Saturday Feb 28, 2015 at 22:41 GMT
How to send location to our server:
curl -v -H "Accept: application/json" -H "Content-type: application/json" -H 'Authorization: Token token="dsajhgsljkhvdsahlskfhbcöj"' -X POST -d ' {"location":{"latitude":"27.42327","longitude":"31.1414421"}}' http://localhost:3000/api/locations
Issue by tomas-nilsson Sunday Feb 15, 2015 at 05:40 GMT Originally opened as https://github.ucsb.edu/tomas-nilsson/SpotiTraceApp/issues/1
When new song is started, paused/stopped and when you want to see what users nearby listen to.