public __preparedRequest ( string $type, string $request_type = 'GET', array $params = [], array $data = [], null $retry_throttled = null ) : object | ||
$type | string | Construct type. Url will be generated using this params. Options: store |
$request_type | string | Request type. Options: get, post, put, delete. |
$params | array | Additional parameters for requests as array. |
$data | array | Data will be posted like json. |
$retry_throttled | null | |
return | object |