API test

Deze pagina is INTERN bedoeld voor de API test integratie.

WPGetAPI, Debug Mode - Plugin Versie 2.2.10

Hieronder vind je debug info voor de huidige API-oproep. Om dit uit te schakelen, stel je debug in op false in je shortcode of template tag.
Verbinding maken met API's kan lastig zijn - als je hulp nodig hebt, raadpleeg dan de Documentatie.

Volledige URL

De volledige URL die wordt aangeroepen.

https://demo.oaktree.rent/api/v6/
Gegevens uitvoer

De resulterende uitvoer die is teruggegeven van de 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

De query string parameters (indien aanwezig) die je hebt ingesteld binnen de endpoint instellingen.


Headers

De header parameters (indien aanwezig) die je hebt ingesteld binnen de endpoint instellingen.


Body

De body parameters (indien aanwezig) die je hebt ingesteld binnen de endpoint instellingen.


Laatste aanvraag argumenten

De laatste aanvraagargumenten verzonden in de API-aanvraag. Omvat headers en body argumenten.

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

)
Argumenten

De argumenten die zijn ingesteld binnen je shortcode of 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
)
Reactie

De volledige reactie van de API aanvraag.

Array
(
    [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
        (
            [data:protected] => Array
                (
                    [server] => nginx
                    [date] => Thu, 06 Feb 2025 10:33:31 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: Thu, 06 Feb 2025 10:33:31 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] => Thu, 06 Feb 2025 10:33:31 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] => ) )