WPGetAPI, Debug Mode - Plugin Version 2.2.8

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.

http://pnr_status-pnr-status-indian-railways-v1.p.rapidapi.com/
Data Output

The resulting output that has been returned from the API.

{
    "message": "Please use HTTPS protocol"
}
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
        (
        )

    [headers] => 
)
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] => Fri, 01 Nov 2024 01:27:21 GMT
                    [content-type] => application/json
                    [upgrade] => TLS/1.0, HTTP/1.1
                    [x-rapidapi-version] => 1.2.8
                    [x-rapidapi-region] => AWS - us-east-1
                    [x-rapidapi-request-id] => 1a0835885f26036a1a772494572d23a91fab3ffcf103ab2c54aeafb3faf72ed3
                    [x-rapidapi-proxy-response] => true
                    [server] => RapidAPI-1.2.8
                )

        )

    [body] => {"message":"Please use HTTPS protocol"}
    [response] => Array
        (
            [code] => 426
            [message] => Upgrade Required
        )

    [cookies] => Array
        (
        )

    [filename] => 
    [http_response] => WP_HTTP_Requests_Response Object
        (
            [response:protected] => WpOrg\Requests\Response Object
                (
                    [body] => {"message":"Please use HTTPS protocol"}
                    [raw] => HTTP/1.1 426 
Date: Fri, 01 Nov 2024 01:27:21 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: close
Upgrade: TLS/1.0, HTTP/1.1
X-RapidAPI-Version: 1.2.8
X-RapidAPI-Region: AWS - us-east-1
X-RapidAPI-Request-Id: 1a0835885f26036a1a772494572d23a91fab3ffcf103ab2c54aeafb3faf72ed3
X-RapidAPI-Proxy-Response: true
Server: RapidAPI-1.2.8

{"message":"Please use HTTPS protocol"}
                    [headers] => WpOrg\Requests\Response\Headers Object
                        (
                            [data:protected] => Array
                                (
                                    [date] => Array
                                        (
                                            [0] => Fri, 01 Nov 2024 01:27:21 GMT
                                        )

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

                                    [upgrade] => Array
                                        (
                                            [0] => TLS/1.0, HTTP/1.1
                                        )

                                    [x-rapidapi-version] => Array
                                        (
                                            [0] => 1.2.8
                                        )

                                    [x-rapidapi-region] => Array
                                        (
                                            [0] => AWS - us-east-1
                                        )

                                    [x-rapidapi-request-id] => Array
                                        (
                                            [0] => 1a0835885f26036a1a772494572d23a91fab3ffcf103ab2c54aeafb3faf72ed3
                                        )

                                    [x-rapidapi-proxy-response] => Array
                                        (
                                            [0] => true
                                        )

                                    [server] => Array
                                        (
                                            [0] => RapidAPI-1.2.8
                                        )

                                )

                        )

                    [status_code] => 426
                    [protocol_version] => 1.1
                    [success] => 
                    [redirects] => 0
                    [url] => http://pnr_status-pnr-status-indian-railways-v1.p.rapidapi.com/
                    [history] => Array
                        (
                        )

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

                        )

                )

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

)