Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consume Geocoding Endpoint #8

Closed
3 tasks done
c-bartell opened this issue Jan 17, 2021 · 0 comments
Closed
3 tasks done

Consume Geocoding Endpoint #8

c-bartell opened this issue Jan 17, 2021 · 0 comments

Comments

@c-bartell
Copy link
Owner

c-bartell commented Jan 17, 2021

Consume the MapQuest Geocoding API endpoint to turn a location into lat and long coordinates.

Endpoint:
POST http://www.mapquestapi.com/geocoding/v1/address
Request Headers:

Content-Type: application/json
Accept: application/json

Request body (JSON):

{
    "location": "LOCATION",
    "options": {
        "thumbMaps": false,
        "maxResults": 1,
        "intlMode": "AUTO"
    }
}
  • Create Geocoding service object
  • Add in VCR
  • Happy Path Tested
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant