I am trying to obtain distance between two locations using Google Distance matrix API. I am using a signature as well to sign my request to Google.
Here is my request URI:
I am using epochtime in UTC to send the request as mentioned in Google API documentation. But I am getting a response as mentioned below:
{
"destination_addresses" : [],
"origin_addresses" : [],
"rows" : [],
"status" : "INVALID_REQUEST"
}
You need an API KEY to call Google Map Services
https://developers.google.com/maps/documentation/javascript/get-api-key?hl=En