Response:
Array
(
[headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[content-type] => application/json; charset=UTF-8
[date] => Mon, 17 Jun 2024 11:29:06 GMT
[pragma] => no-cache
[expires] => Fri, 01 Jan 1990 00:00:00 GMT
[cache-control] => no-cache, must-revalidate
[vary] => Accept-Language
[server] => mafe
[content-length] => 294
[x-xss-protection] => 0
[x-frame-options] => SAMEORIGIN
[server-timing] => gfet4t7; dur=47
[alt-svc] => h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
)
)
[body] => {
"destination_addresses" : [],
"error_message" : "You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account",
"origin_addresses" : [],
"rows" : [],
"status" : "REQUEST_DENIED"
}
[response] => Array
(
[code] => 200
[message] => OK
)
[cookies] => Array
(
)
[filename] =>
[http_response] => WP_HTTP_Requests_Response Object
(
[data] =>
[headers] =>
[status] =>
[response:protected] => WpOrg\Requests\Response Object
(
[body] => {
"destination_addresses" : [],
"error_message" : "You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account",
"origin_addresses" : [],
"rows" : [],
"status" : "REQUEST_DENIED"
}
[raw] => HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Date: Mon, 17 Jun 2024 11:29:06 GMT
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Cache-Control: no-cache, must-revalidate
Vary: Accept-Language
Server: mafe
Content-Length: 294
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN
Server-Timing: gfet4t7; dur=47
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Connection: close
{
"destination_addresses" : [],
"error_message" : "You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account",
"origin_addresses" : [],
"rows" : [],
"status" : "REQUEST_DENIED"
}
[headers] => WpOrg\Requests\Response\Headers Object
(
[data:protected] => Array
(
[content-type] => Array
(
[0] => application/json; charset=UTF-8
)
[date] => Array
(
[0] => Mon, 17 Jun 2024 11:29:06 GMT
)
[pragma] => Array
(
[0] => no-cache
)
[expires] => Array
(
[0] => Fri, 01 Jan 1990 00:00:00 GMT
)
[cache-control] => Array
(
[0] => no-cache, must-revalidate
)
[vary] => Array
(
[0] => Accept-Language
)
[server] => Array
(
[0] => mafe
)
[content-length] => Array
(
[0] => 294
)
[x-xss-protection] => Array
(
[0] => 0
)
[x-frame-options] => Array
(
[0] => SAMEORIGIN
)
[server-timing] => Array
(
[0] => gfet4t7; dur=47
)
[alt-svc] => Array
(
[0] => h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
)
)
)
[status_code] => 200
[protocol_version] => 1.1
[success] => 1
[redirects] => 0
[url] => https://maps.googleapis.com/maps/api/distancematrix/json?key=#AZHh%25)jWF0y*l@wEN&origins=Lot+12.1%2C12th+Floor%2C+Menara+Lien+Ho%2C+No+8%2C+Persiaran+Tropicana%2C+Petaling+Jaya%2C+47410%2C+Malaysia&destinations=Selangor%2C+Malaysia&mode=driving&avoid=none&units=metric&sensor=0®ion=my&language=en-US
[history] => Array
(
)
[cookies] => WpOrg\Requests\Cookie\Jar Object
(
[cookies:protected] => Array
(
)
)
)
[filename:protected] =>
)
)