Rachit
Rachit

Reputation: 403

Using Google Geocode API in postman

I currently dont have a Google API key.For testing purposes, I want to get the latitude and longitude from the zipcode and address.

How do I go about testing this in Postman?

Upvotes: 1

Views: 4884

Answers (1)

TechFree
TechFree

Reputation: 2974

This is a GET request and you can use Postman or curl to hit the API. Example request:

https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=YOUR_API_KEY

See link: Google Geocoding API

Example on Postman: enter image description here

Example on curl: enter image description here

Upvotes: 2

Related Questions