SyntaxFix
Write A Post
Hire A Developer
Questions
$client = new \GuzzleHttp\Client(); $request = $client->post('http://demo.website.com/api', [ 'body' => json_encode($dataArray) ]); $response = $request->getBody();
Add
openssl.cafile in php.ini file
openssl.cafile
php.ini