We call `httpRequestWithoutCurl` and `httpRequestWithCurl` dynamically. To maintain consistency in method parameters, `$options` is required here.
``` php
 $this->http_request_type = function_exists('curl_init') ? 'httpRequestCurl' : 'httpRequestWithoutCurl';
$response = $this->{$this->http_request_type}($url, $data, $method, $options);
```