LLMS_Abstract_API_Handler::__construct( stirng $resource, array $data, string $method = null )
Construct an API call, parameters are passed to private call()
function
Description Description
Parameters Parameters
- $resource
-
(Required) url endpoint or resource to make a request to
- $data
-
(Required) array of data to pass in the body of the request
- $method
-
(Optional) method of request (POST, GET, DELETE, PUT, etc...)
Default value: null
Return Return
(void)
Source Source
File: includes/abstracts/llms.abstract.api.handler.php
Changelog Changelog
Version | Description |
---|---|
3.11.2 | Introduced. |