qpilot_remote_request (action)

(src/QPilot/Client.php) Used to fire custom functions before the HTTP Request is made to the QPilot API. The action passes the details of the HTTP Request as parameters ($args). These include the HTTP method, body, endpoint, and header information. 

Available in the following methods:

  • QPilotClient::get()
  • QPilotClient::post() 
  • QPilotClient::put()
  • QPilotClient::patch() 
  • QPilotClient::delete()

Example: Using Action to Log Requests to the QPilot API by the Site

Still need help? Contact Us Contact Us