Results 4 comments of Mohamed Alfaghi

Well, the path option is only to indicate the directory, not the file

> Same thing, error in: > > `protected function addRequestHeaders() { return [ 'Authorization' => 'key=' . $this->config['apiKey'], 'Content-Type:' =>'application/json' ]; }` > > Solve: > > `protected function addRequestHeaders()...

@Humza01 it is because of the content type index, it should be "Content-Type", while in the original code it is "Content-Type:". So the problem is with the ending colon.

> is this problem solved ? so no its not fixed yet, but you can manually adjust it and make a PR