WPGetAPI, Debug Mode - Plugin Version 2.2.4

Below you will find debug info for the current API call. To turn this off, set debug to false in your shortcode or template tag.
Connecting to API's can be tricky - if you require help, please see the Documentation.

Full URL

The full URL that is being called.

https://www.firstdeliverygroup.com/api/v2/
Data Output

The resulting output that has been returned from the API.

{
    "status": 405,
    "isError": true,
    "message": "Method not allowed",
    "result": null
}
Query String

The query string parameters (if any) that you have set within the endpoint settings.


Headers

The header parameters (if any) that you have set within the endpoint settings.


Body

The body parameters (if any) that you have set within the endpoint settings.


Final Request Arguments

The final request arguments sent in the API request. Includes headers and body arguments.

Array
(
    [timeout] => 10
    [sslverify] => 1
    [redirection] => 5
    [blocking] => 1
    [cookies] => Array
        (
        )

)
Arguments

The arguments set within your shortcode or template tag.

Array
(
    [debug] => true
    [endpoint_variables] => Array
        (
        )

    [query_variables] => Array
        (
        )

    [body_variables] => Array
        (
        )

    [format] => 
    [html_tag] => div
    [html_labels] => false
    [html_url] => 
    [html_to_link] => 
    [img_key] => 
    [img_prepend] => 
    [img_link] => 
    [shortcode] => 1
    [on] => 
    [button_text] => 
    [hide_button] => 
    [button_spinner] => 
    [button_id] => 
    [ajax_output] => .wpgetapi_ajax_output
    [chain] => 
    [chain_delay] => 0
)
Response

The full response from the API request.

Array
(
    [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
        (
            [data:protected] => Array
                (
                    [date] => Thu, 05 Dec 2024 12:47:50 GMT
                    [content-type] => application/json; charset=utf-8
                    [content-length] => 74
                    [access-control-allow-headers] => X-Requested-With, Content-type, Authorization, Cache-control
                    [access-control-allow-methods] => POST
                    [access-control-allow-origin] => **
                    [content-security-policy] => script-src 'self' 'unsafe-inline' https://run.pstmn.io
                    [cross-origin-embedder-policy] => same-origin
                    [cross-origin-opener-policy] => same-origin
                    [cross-origin-resource-policy] => same-origin
                    [etag] => W/"4a-dGSu8CnOPv6LCe+2lzOyWIH7RsQ"
                    [origin-agent-cluster] => ?1
                    [referrer-policy] => no-referrer
                    [strict-transport-security] => max-age=15552000; includeSubDomains
                    [vary] => Accept-Encoding
                    [x-content-type-options] => nosniff
                    [x-dns-prefetch-control] => off
                    [x-download-options] => noopen
                    [x-frame-options] => SAMEORIGIN
                    [x-permitted-cross-domain-policies] => none
                    [x-xss-protection] => 0
                    [cf-cache-status] => DYNAMIC
                    [report-to] => {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=eEklBLSDE9242fuUG7mR3G3B40yrnGOom8BAzEOeQg0eBg5FUJRQ5ywAfvn4lU0FGVFfg5etHBdgm3h9J%2Falzxz0dJq6SMRvwob9qRHk5PPSI2G90XM64gi3MDNsG3Ytc9yjAXu6CqPWqY0a%2Fw%3D%3D"}],"group":"cf-nel","max_age":604800}
                    [nel] => {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
                    [server] => cloudflare
                    [cf-ray] => 8ed425a6a851c801-DUS
                    [alt-svc] => h3=":443"; ma=86400
                    [server-timing] => cfL4;desc="?proto=TCP&rtt=18192&min_rtt=18010&rtt_var=5252&sent=5&recv=6&lost=0&retrans=0&sent_bytes=2886&recv_bytes=855&delivery_rate=160799&cwnd=225&unsent_bytes=0&cid=36dd22c9cd928776&ts=120&x=0"
                )

        )

    [body] => {"status":405,"isError":true,"message":"Method not allowed","result":null}
    [response] => Array
        (
            [code] => 405
            [message] => Method Not Allowed
        )

    [cookies] => Array
        (
        )

    [filename] => 
    [http_response] => WP_HTTP_Requests_Response Object
        (
            [data] => 
            [headers] => 
            [status] => 
            [response:protected] => WpOrg\Requests\Response Object
                (
                    [body] => {"status":405,"isError":true,"message":"Method not allowed","result":null}
                    [raw] => HTTP/1.1 405 Method Not Allowed
Date: Thu, 05 Dec 2024 12:47:50 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 74
Connection: close
access-control-allow-headers: X-Requested-With, Content-type, Authorization, Cache-control
access-control-allow-methods: POST
access-control-allow-origin: **
content-security-policy: script-src 'self' 'unsafe-inline' https://run.pstmn.io
cross-origin-embedder-policy: same-origin
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
etag: W/"4a-dGSu8CnOPv6LCe+2lzOyWIH7RsQ"
origin-agent-cluster: ?1
referrer-policy: no-referrer
strict-transport-security: max-age=15552000; includeSubDomains
vary: Accept-Encoding
x-content-type-options: nosniff
x-dns-prefetch-control: off
x-download-options: noopen
x-frame-options: SAMEORIGIN
x-permitted-cross-domain-policies: none
x-xss-protection: 0
CF-Cache-Status: DYNAMIC
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=eEklBLSDE9242fuUG7mR3G3B40yrnGOom8BAzEOeQg0eBg5FUJRQ5ywAfvn4lU0FGVFfg5etHBdgm3h9J%2Falzxz0dJq6SMRvwob9qRHk5PPSI2G90XM64gi3MDNsG3Ytc9yjAXu6CqPWqY0a%2Fw%3D%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 8ed425a6a851c801-DUS
alt-svc: h3=":443"; ma=86400
server-timing: cfL4;desc="?proto=TCP&rtt=18192&min_rtt=18010&rtt_var=5252&sent=5&recv=6&lost=0&retrans=0&sent_bytes=2886&recv_bytes=855&delivery_rate=160799&cwnd=225&unsent_bytes=0&cid=36dd22c9cd928776&ts=120&x=0"

{"status":405,"isError":true,"message":"Method not allowed","result":null}
                    [headers] => WpOrg\Requests\Response\Headers Object
                        (
                            [data:protected] => Array
                                (
                                    [date] => Array
                                        (
                                            [0] => Thu, 05 Dec 2024 12:47:50 GMT
                                        )

                                    [content-type] => Array
                                        (
                                            [0] => application/json; charset=utf-8
                                        )

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

                                    [access-control-allow-headers] => Array
                                        (
                                            [0] => X-Requested-With, Content-type, Authorization, Cache-control
                                        )

                                    [access-control-allow-methods] => Array
                                        (
                                            [0] => POST
                                        )

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

                                    [content-security-policy] => Array
                                        (
                                            [0] => script-src 'self' 'unsafe-inline' https://run.pstmn.io
                                        )

                                    [cross-origin-embedder-policy] => Array
                                        (
                                            [0] => same-origin
                                        )

                                    [cross-origin-opener-policy] => Array
                                        (
                                            [0] => same-origin
                                        )

                                    [cross-origin-resource-policy] => Array
                                        (
                                            [0] => same-origin
                                        )

                                    [etag] => Array
                                        (
                                            [0] => W/"4a-dGSu8CnOPv6LCe+2lzOyWIH7RsQ"
                                        )

                                    [origin-agent-cluster] => Array
                                        (
                                            [0] => ?1
                                        )

                                    [referrer-policy] => Array
                                        (
                                            [0] => no-referrer
                                        )

                                    [strict-transport-security] => Array
                                        (
                                            [0] => max-age=15552000; includeSubDomains
                                        )

                                    [vary] => Array
                                        (
                                            [0] => Accept-Encoding
                                        )

                                    [x-content-type-options] => Array
                                        (
                                            [0] => nosniff
                                        )

                                    [x-dns-prefetch-control] => Array
                                        (
                                            [0] => off
                                        )

                                    [x-download-options] => Array
                                        (
                                            [0] => noopen
                                        )

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

                                    [x-permitted-cross-domain-policies] => Array
                                        (
                                            [0] => none
                                        )

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

                                    [cf-cache-status] => Array
                                        (
                                            [0] => DYNAMIC
                                        )

                                    [report-to] => Array
                                        (
                                            [0] => {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=eEklBLSDE9242fuUG7mR3G3B40yrnGOom8BAzEOeQg0eBg5FUJRQ5ywAfvn4lU0FGVFfg5etHBdgm3h9J%2Falzxz0dJq6SMRvwob9qRHk5PPSI2G90XM64gi3MDNsG3Ytc9yjAXu6CqPWqY0a%2Fw%3D%3D"}],"group":"cf-nel","max_age":604800}
                                        )

                                    [nel] => Array
                                        (
                                            [0] => {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
                                        )

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

                                    [cf-ray] => Array
                                        (
                                            [0] => 8ed425a6a851c801-DUS
                                        )

                                    [alt-svc] => Array
                                        (
                                            [0] => h3=":443"; ma=86400
                                        )

                                    [server-timing] => Array
                                        (
                                            [0] => cfL4;desc="?proto=TCP&rtt=18192&min_rtt=18010&rtt_var=5252&sent=5&recv=6&lost=0&retrans=0&sent_bytes=2886&recv_bytes=855&delivery_rate=160799&cwnd=225&unsent_bytes=0&cid=36dd22c9cd928776&ts=120&x=0"
                                        )

                                )

                        )

                    [status_code] => 405
                    [protocol_version] => 1.1
                    [success] => 
                    [redirects] => 0
                    [url] => https://www.firstdeliverygroup.com/api/v2/
                    [history] => Array
                        (
                        )

                    [cookies] => WpOrg\Requests\Cookie\Jar Object
                        (
                            [cookies:protected] => Array
                                (
                                )

                        )

                )

            [filename:protected] => 
        )

)