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/
Data Output

The resulting output that has been returned from the API.

    <!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <title>An Error Occurred: Not Found</title>
        <style>
            body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
            .container { margin: 30px; max-width: 600px; }
            h1 { color: #dc3545; font-size: 24px; }
            h2 { font-size: 18px; }
        </style>
    </head>
    <body>
        <div class="container">
            <h1>Oops! An Error Occurred</h1>
            <h2>The server returned a "404 Not Found".</h2>

            <p>
                Something is broken. Please let us know what you were doing when this error occurred.
                We will fix it as soon as possible. Sorry for any inconvenience caused.
            </p>
        </div>
    </body>
</html>
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
                (
                    [server] => nginx
                    [date] => Sun, 19 May 2024 02:04:59 GMT
                    [content-type] => text/html; charset=UTF-8
                    [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
                    [content-encoding] => gzip
                )

        )

    [body] =>     

    
        
        An Error Occurred: Not Found
        
    
    
        

Oops! An Error Occurred

The server returned a "404 Not Found".

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

[response] => Array ( [code] => 404 [message] => Not Found ) [cookies] => Array ( ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => WpOrg\Requests\Response Object ( [body] => An Error Occurred: Not Found

Oops! An Error Occurred

The server returned a "404 Not Found".

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

[raw] => HTTP/1.1 404 Not Found Server: nginx Date: Sun, 19 May 2024 02:04:59 GMT Content-Type: text/html; charset=UTF-8 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 Content-Encoding: gzip An Error Occurred: Not Found

Oops! An Error Occurred

The server returned a "404 Not Found".

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

[headers] => WpOrg\Requests\Response\Headers Object ( [data:protected] => Array ( [server] => Array ( [0] => nginx ) [date] => Array ( [0] => Sun, 19 May 2024 02:04:59 GMT ) [content-type] => Array ( [0] => text/html; charset=UTF-8 ) [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 ) [content-encoding] => Array ( [0] => gzip ) ) ) [status_code] => 404 [protocol_version] => 1.1 [success] => [redirects] => 0 [url] => https://demo.oaktree.rent/api/v6/ [history] => Array ( ) [cookies] => WpOrg\Requests\Cookie\Jar Object ( [cookies:protected] => Array ( ) ) ) [filename:protected] => [data] => [headers] => [status] => ) )