I'm just getting started and using PHP to call the API. I'm trying to get an OAuth token but the server response is empty including no error message. I've also tried using the Chroma Advanced REST Client and I get the same lack of response. Do I need separate permissions? Any assistance would be welcomed.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"https://{instance}/app/oauth/token");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'Content-Type: application/json' ));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, "{user}:{pass}");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0);
$response = curl_exec($ch);
$curl_errno = curl_errno($ch);
curl_close($ch);