Codebird\Codebird::_callApi
Calls the API using cURL
Signature
protected function _callApi(string
$httpmethod,
string
$method,
[array
$params = ,
[boolean
$multipart = false,
[boolean
$app_only_auth = false,
[boolean
$internal = false]]]] )
Parameters
$httpmethod
—
string
- The HTTP method to use for making the request
$method
—
string
- The API method to call
$params
—
array
$multipart
—
boolean
$app_only_auth
—
boolean
$internal
—
boolean
Returns
- mixed
- The API reply, encoded in the set return_format