JTwitterObject::sendRequest
Method to send the request.
Signature
public function sendRequest(string
$path,
[string
$method = 'GET',
array
$data,
array
$headers] )
Parameters
-
$path
- The path of the request to make
-
$method
- The request method.
-
$data
- Either an associative array or a string to be sent with the post request.
-
$headers
- An array of name-value pairs to include in the header of the request
Returns
- array
- The decoded JSON response