Distance not found in cache, will perform API request.
Request:
Array
(
    [origins] => Unit 8, 15425 Bannister Rd SE, Calgary, T2X3E9, Canada
    [destinations] => Alberta, Canada
    [mode] => driving
    [avoid] => none
    [units] => metric
    [sensor] => 0
    [region] => ca
)
Response:
Array
(
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
        (
            [data:protected] => Array
                (
                    [content-type] => application/json; charset=UTF-8
                    [date] => Thu, 19 Sep 2019 04:16:28 GMT
                    [pragma] => no-cache
                    [expires] => Fri, 01 Jan 1990 00:00:00 GMT
                    [cache-control] => no-cache, must-revalidate
                    [vary] => Accept-Language
                    [content-encoding] => gzip
                    [server] => mafe
                    [x-xss-protection] => 0
                    [x-frame-options] => SAMEORIGIN
                    [server-timing] => gfet4t7; dur=86
                    [alt-svc] => quic=":443"; ma=2592000; v="46,43,39"
                )

        )

    [body] => {
   "destination_addresses" : [],
   "error_message" : "You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started",
   "origin_addresses" : [],
   "rows" : [],
   "status" : "REQUEST_DENIED"
}

    [response] => Array
        (
            [code] => 200
            [message] => OK
        )

    [cookies] => Array
        (
        )

    [filename] => 
    [http_response] => WP_HTTP_Requests_Response Object
        (
            [response:protected] => Requests_Response Object
                (
                    [body] => {
   "destination_addresses" : [],
   "error_message" : "You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started",
   "origin_addresses" : [],
   "rows" : [],
   "status" : "REQUEST_DENIED"
}

                    [raw] => HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Date: Thu, 19 Sep 2019 04:16:28 GMT
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Cache-Control: no-cache, must-revalidate
Vary: Accept-Language
Content-Encoding: gzip
Server: mafe
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN
Server-Timing: gfet4t7; dur=86
Alt-Svc: quic=":443"; ma=2592000; v="46,43,39"
Connection: close
Transfer-Encoding: chunked

{
   "destination_addresses" : [],
   "error_message" : "You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started",
   "origin_addresses" : [],
   "rows" : [],
   "status" : "REQUEST_DENIED"
}

                    [headers] => Requests_Response_Headers Object
                        (
                            [data:protected] => Array
                                (
                                    [content-type] => Array
                                        (
                                            [0] => application/json; charset=UTF-8
                                        )

                                    [date] => Array
                                        (
                                            [0] => Thu, 19 Sep 2019 04:16:28 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
                                        )

                                    [content-encoding] => Array
                                        (
                                            [0] => gzip
                                        )

                                    [server] => Array
                                        (
                                            [0] => mafe
                                        )

                                    [x-xss-protection] => Array
                                        (
                                            [0] => 0
                                        )

                                    [x-frame-options] => Array
                                        (
                                            [0] => SAMEORIGIN
                                        )

                                    [server-timing] => Array
                                        (
                                            [0] => gfet4t7; dur=86
                                        )

                                    [alt-svc] => Array
                                        (
                                            [0] => quic=":443"; ma=2592000; v="46,43,39"
                                        )

                                )

                        )

                    [status_code] => 200
                    [protocol_version] => 1.1
                    [success] => 1
                    [redirects] => 0
                    [url] => https://maps.googleapis.com/maps/api/distancematrix/json?key=AIzaSyAjkztHUbtgrPmtlITj7y0moIwfOod2NLQ&origins=Unit+8%2C+15425+Bannister+Rd+SE%2C+Calgary%2C+T2X3E9%2C+Canada&destinations=Alberta%2C+Canada&mode=driving&avoid=none&units=metric&sensor=0&region=ca
                    [history] => Array
                        (
                        )

                    [cookies] => Requests_Cookie_Jar Object
                        (
                            [cookies:protected] => Array
                                (
                                )

                        )

                )

            [filename:protected] => 
            [data] => 
            [headers] => 
            [status] => 
        )

)
View: 12 24 ALL