API test

Deze pagina is INTERN bedoeld voor de API test integratie.

WPGetAPI, Debug Mode - Plugin Version 2.2.3

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 Documentatie.

Full URL

The full URL that is being called.

https://demo.oaktree.rent/api/v6/product/serial/sharedfiles?key=%7B0%7D&
Data Output

The resulting output that has been returned from the API.

{
    "RentBuddy": {
        "date": "20240225",
        "version": "6.9.21"
    },
    "Documents": []
}
Query String

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

Array
(
)
Headers

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

Array
(
    [secretKey] => pDd19kn81VWlHN8oSmElfg
)
Body

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

Array
(
)
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
        (
        )

    [headers] => Array
        (
            [secretKey] => pDd19kn81VWlHN8oSmElfg
        )

)
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
                (
                    [server] => nginx
                    [date] => Sun, 25 Feb 2024 16:23:33 GMT
                    [content-type] => application/json
                    [vary] => Accept-Encoding
                    [cache-control] => private, must-revalidate
                    [access-control-allow-methods] => POST, GET
                    [access-control-allow-headers] => Content-Type, Origin, X-Auth-Token, secretKey
                    [access-control-allow-credentials] => true
                    [pragma] => no-cache
                    [expires] => -1
                    [strict-transport-security] => max-age=31536000
                    [access-control-allow-origin] => *
                    [content-encoding] => gzip
                )

        )

    [body] => {"RentBuddy":{"date":"20240225","version":"6.9.21"},"Documents":[]}
    [response] => Array
        (
            [code] => 200
            [message] => OK
        )

    [cookies] => Array
        (
        )

    [filename] => 
    [http_response] => WP_HTTP_Requests_Response Object
        (
            [response:protected] => WpOrg\Requests\Response Object
                (
                    [body] => {"RentBuddy":{"date":"20240225","version":"6.9.21"},"Documents":[]}
                    [raw] => HTTP/1.1 200 OK
Server: nginx
Date: Sun, 25 Feb 2024 16:23:33 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Cache-Control: private, must-revalidate
Access-Control-Allow-Methods: POST, GET
Access-Control-Allow-Headers: Content-Type, Origin, X-Auth-Token, secretKey
Access-Control-Allow-Credentials: true
pragma: no-cache
expires: -1
Strict-Transport-Security: max-age=31536000
Access-Control-Allow-Origin: *
Content-Encoding: gzip

{"RentBuddy":{"date":"20240225","version":"6.9.21"},"Documents":[]}
                    [headers] => WpOrg\Requests\Response\Headers Object
                        (
                            [data:protected] => Array
                                (
                                    [server] => Array
                                        (
                                            [0] => nginx
                                        )

                                    [date] => Array
                                        (
                                            [0] => Sun, 25 Feb 2024 16:23:33 GMT
                                        )

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

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

                                    [cache-control] => Array
                                        (
                                            [0] => private, must-revalidate
                                        )

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

                                    [access-control-allow-headers] => Array
                                        (
                                            [0] => Content-Type, Origin, X-Auth-Token, secretKey
                                        )

                                    [access-control-allow-credentials] => Array
                                        (
                                            [0] => true
                                        )

                                    [pragma] => Array
                                        (
                                            [0] => no-cache
                                        )

                                    [expires] => Array
                                        (
                                            [0] => -1
                                        )

                                    [strict-transport-security] => Array
                                        (
                                            [0] => max-age=31536000
                                        )

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

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

                                )

                        )

                    [status_code] => 200
                    [protocol_version] => 1.1
                    [success] => 1
                    [redirects] => 0
                    [url] => https://demo.oaktree.rent/api/v6/product/serial/sharedfiles?key=%7B0%7D&
                    [history] => Array
                        (
                        )

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

                        )

                )

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

)