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://api.quotable.io/quotes/random
Data Output
The resulting output that has been returned from the API.
{"errors":{"http_request_failed":["cURL error 6: Could not resolve host: api.quotable.io"]},"error_data":[]}
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 ( )
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 ( ) )
Arguments
The arguments set within your shortcode or template tag.
Array ( [debug] => 1 )
Response
The full response from the API request.
WP_Error Object ( [errors] => Array ( [http_request_failed] => Array ( [0] => cURL error 6: Could not resolve host: api.quotable.io ) ) [error_data] => Array ( ) [additional_data:protected] => Array ( ) )