CURL gives 500 Internal server error
<p>I am unable to make the API call using CURL. Below is the code for making the API call using CURL</p>

<pre><code>$ch=curl_init("http://sms.geekapplications.com/api/balance.php?authkey=2011AQTvWQjrcB56d9b03d&amp;type=4");

curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER,
array("Authorization: Bearer"));

// execute the api call
$result = curl_exec($ch);
echo ($result);
</code></pre>