qpilot_remote_request_response (action)
(src/QPilot/Client.php) Used to fire custom functions after the HTTP Request is made to the QPilot API. The action passes the details of the HTTP Request as parameters ( $args). This includes the http method, body, endpoint, and header information, as well as the response from the QPilot API.
Available in the these Methods:
-
QPilotClient::get()
-
QPilotClient::post()
-
QPilotClient::put()
-
QPilotClient::patch()
-
QPilotClient::delete()
Code
$this->do_action( 'qpilot_remote_request_response', $args );
Used in these Code Examples