Create an HTTP request
public static prepareHttpRequest ( string $uri = '', string $method = 'GET', array $parameters = [], integer $ajax, boolean $add_csrf_tokens = false ) : |
||
$uri | string | URI of the request |
$method | string | HTTP method |
$parameters | array | Query/Post parameters |
$ajax | integer | AJAX api version (0 for non-ajax) |
$add_csrf_tokens | boolean | Add CSRF tokens |
return |