I have a PHP script that connects to an api and posts information to their systems, but when its trying to connect it throws a fatal error:
Fatal error: Unca
or You can change the headers:
$optional_headers = 'Content-Type: application/json')