You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
function request($method, $req, $params = false)
This $params must be used as postfields when $method is POST and as queries when $method is GET.
function request2($method, $req, $params = false)
Same here.
$result = $this->reqCurl($method, $url, null, $headers, $params);
The third argument of reqCurl is queries and the fifth argument is postfields. Regardless of whether $method is GET or POST, $queries is always NULL and $params is treated as postfields.
This is probably a bug; GET request2 with params does not work.
The text was updated successfully, but these errors were encountered:
function request($method, $req, $params = false)
This $params must be used as postfields when $method is POST and as queries when $method is GET.
function request2($method, $req, $params = false)
Same here.
$result = $this->reqCurl($method, $url, null, $headers, $params);
The third argument of reqCurl is queries and the fifth argument is postfields. Regardless of whether $method is GET or POST, $queries is always NULL and $params is treated as postfields.
This is probably a bug; GET request2 with params does not work.
The text was updated successfully, but these errors were encountered: