I was having the same issue, the problem was the wrong curl request. Below is the code which worked!
curl_close ($ch);
Topic:
App & System Services
SubTopic:
General
Tags: