I trying to send sms message to users using php language . I using curl to send this message but I have this error
{"error":"HTTP 405 Method Not Allowed"}
I used Clickatell as sms api . this is my code
echo $url= 'https://platform.clickatell.com/messages/http/sendapiKey=ordnzDdGdRhqdnjdf3ZmzYA==&to=904234234&content=your+password+is+BhSTV';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch,CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch,CURLOPT_POST,1);
echo $response = curl_exec($ch);