Convert Latitude and Longitude to Address via REST API [Curl/Bash Code]

Convert latitude and longitude to a location (reverse geocode) by sending a POST request to the Mapquest.com REST API. Replace {mapquest_apikey} with your own Mapquest API key. The Curl/Bash code was automatically generated for the Convert Latitude And Longitude Address Via REST API example.
Convert Latitude and Longitude to Address via REST API [Curl/Bash Code] Send
POST /geocoding/v1/reverse?key={mapquest_apikey} HTTP/1.1
Host: www.mapquestapi.com
Content-Type: application/json
Content-Length: 136

{
  "location": {
    "latLng": {
      "lat": 30.333472,
      "lng": -81.470448
    }
  },
  "options": {
    "thumbMaps": false
  }
}
Updated: Viewed: 12666 times
Curl/Bash code for Convert Latitude And Longitude Address Via REST API example

Curl/Bash code for Convert Latitude And Longitude Address Via REST API Example

This Curl/Bash code snippet was generated automatically for the Convert Latitude And Longitude Address Via REST API example.
<< Back to the Convert Latitude And Longitude Address Via REST API example

Generate code snippets for Curl/Bash and other programming languages

Convert your Convert Latitude And Longitude Address Via REST API request to the PHP, JavaScript/AJAX, Node.js, Curl/Bash, Python, Java, C#/.NET code snippets using the Curl/Bash code generator.