Uncategorized

Home ยป Uncategorized
Array
(
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
        (
            [data:protected] => Array
                (
                    [date] => Mon, 12 Apr 2021 16:00:21 GMT
                    [content-type] => application/json
                    [content-length] => 151
                    [access-control-allow-headers] => Accept, Content-Type, Origin, X-Forwarded-For, X-Prototype-Version, X-Requested-With
                    [access-control-allow-methods] => GET, OPTIONS
                    [access-control-allow-origin] => *
                    [access-control-expose-headers] => Content-Length, X-JSON
                )

        )

    [body] => {"fault":{"faultstring":"Failed to resolve API Key variable request.queryparam.api-key","detail":{"errorcode":"steps.oauth.v2.FailedToResolveAPIKey"}}}
    [response] => Array
        (
            [code] => 401
            [message] => Unauthorized
        )

    [cookies] => Array
        (
        )

    [filename] => 
    [http_response] => WP_HTTP_Requests_Response Object
        (
            [response:protected] => Requests_Response Object
                (
                    [body] => {"fault":{"faultstring":"Failed to resolve API Key variable request.queryparam.api-key","detail":{"errorcode":"steps.oauth.v2.FailedToResolveAPIKey"}}}
                    [raw] => HTTP/1.1 401 Unauthorized
Date: Mon, 12 Apr 2021 16:00:21 GMT
Content-Type: application/json
Content-Length: 151
Connection: close
Access-Control-Allow-Headers: Accept, Content-Type, Origin, X-Forwarded-For, X-Prototype-Version, X-Requested-With
Access-Control-Allow-Methods: GET, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Content-Length, X-JSON

{"fault":{"faultstring":"Failed to resolve API Key variable request.queryparam.api-key","detail":{"errorcode":"steps.oauth.v2.FailedToResolveAPIKey"}}}
                    [headers] => Requests_Response_Headers Object
                        (
                            [data:protected] => Array
                                (
                                    [date] => Array
                                        (
                                            [0] => Mon, 12 Apr 2021 16:00:21 GMT
                                        )

                                    [content-type] => Array
                                        (
                                            [0] => application/json
                                        )

                                    [content-length] => Array
                                        (
                                            [0] => 151
                                        )

                                    [access-control-allow-headers] => Array
                                        (
                                            [0] => Accept, Content-Type, Origin, X-Forwarded-For, X-Prototype-Version, X-Requested-With
                                        )

                                    [access-control-allow-methods] => Array
                                        (
                                            [0] => GET, OPTIONS
                                        )

                                    [access-control-allow-origin] => Array
                                        (
                                            [0] => *
                                        )

                                    [access-control-expose-headers] => Array
                                        (
                                            [0] => Content-Length, X-JSON
                                        )

                                )

                        )

                    [status_code] => 401
                    [protocol_version] => 1.1
                    [success] => 
                    [redirects] => 0
                    [url] => https://api.nytimes.com/svc/books/v3/lists/best-sellers/history.json
                    [history] => Array
                        (
                        )

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

                        )

                )

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

)