This sample demonstrates a reverse geocoding REST API implemented using Google Reverse Geocoding API.
To build the project :
./gradlew build
To run the service :
./run
To end the service :
./end
To GET geocode address TEXT by latitude & longitude :
curl http://localhost:8080/geocode-address/{latitude}/{longitude}
To GET geocode JSON by latitude & longitude :
curl http://localhost:8080/geocode/{latitude}/{longitude}
To GET last 10 cached geocodes as array of JSON objects:
curl http://localhost:8080/geocodes-last10