CircleOfNice / CiRestClientBundle

Mapper for PHP internal curl library
GNU General Public License v3.0
57 stars 20 forks source link

Exception when attempting to use #46

Closed CRC-Mismatch closed 7 years ago

CRC-Mismatch commented 7 years ago

After following the basic configuration as explained in the README, whenever I try to use the bundle via either $this->container->get('circle.restclient'); or $this->get('circle.restclient'); I'm getting

Error while setting a curl option (http://php.net/manual/de/function.curl-setopt.php). Tried to set on curl resource.

Tried with

circle_rest_client: curl: defaults: CURLOPT_HTTPHEADER: [ 'Content-Type: application/x-www-form-urlencoded' ] CURLOPT_FOLLOWLOCATION: true

and setting nothing in config.yml, to no avail.

CRC-Mismatch commented 7 years ago

Had curl installed but didn't have php-curl...

TobiasHauck commented 7 years ago

no problem, thank your for reporting anyways ;)