Closed TomasNilsson closed 9 years ago
How to get a list of users close to a location:
curl -v -H "Accept: application/json" -H "Content-type: application/json" -H 'Authorization: Token token="dsajhgsljkhvdsahlskfhbcöj"' -X POST -d ' {"latitude":"34.4208333","longitude":"-119.6972222"}' http://localhost:3000/api/users/location
The returned list of users will look like the JSON output in #4.
Issue by tomas-nilsson Sunday Feb 15, 2015 at 05:42 GMT Originally opened as https://github.ucsb.edu/tomas-nilsson/SpotiTraceApp/issues/12
Drop a marker on the map where you want to find users.
Show list of users close to that location.