CURL: BAD REQUESt erreur lorsque vous essayez d'appeler l'url http

Je suis en train de faire appel à une api sms à l'aide d'une url http .Je suis en train d'appeler l'url à l'aide de curl en php.J'ai MAL DEMANDE d'erreur .Veuillez expliquer ce que je fais de mal.

//create a new cURL resource
    $ch = curl_init();
    $string1 = "http://api.znisms.com/post/smsv3.asp?userid=alpesh67&apikey=74c6314840a16c5e7db00415a03181f7&message= Congratulation you have been successfully registered in the Placement Management System \n Email:".$email."\n Password:".$password."&senderid=PMS12345&sendto=".$contactno."";
    echo $string1;
    //set URL and other appropriate options
     curl_setopt($ch, CURLOPT_URL, $string1);
    //grab URL and pass it to the browser
    curl_exec($ch);
    //close cURL resource, and free up system resources
    curl_close($ch);
    //SMS END

J'obtiens l'erreur suivante:

http://api.znisms.com/post/smsv3.asp?userid=alpesh67&apikey=74c6314840a16c5e7db00415a03181f7&message= Congratulation you have been successfully registered in the Placement Management System Email:[email protected] Password:123456789&senderid=PMS12345&sendto=9773396773
Bad Request
InformationsquelleAutor Jonah | 2012-03-13