global method: doHTTPRequest

when using this global method to send http request (I used it to send SMS), the message is sent successfully, but I see the following error:
Error calling method: doHttpRequest in class: com/hp/ov/sm/server/utility/HttpClient Exception ( Server returned HTTP response code: 500 for URL:****&Sender=HPSM) at char 1
I call a rule set that run the following javascript
function SendSMS()
var url = " Need Test It&Username=hpsm&Password=****&Sender=HPSM";
var headers = new Array();
var SMSrequest;
var reply;
var respHeaders = new Object();
SMSrequest = doHTTPRequest( "GET", url, headers, null, 10, 10, null, respHeaders );

Also note I have tried to change the headers but no luck.

Also this method is used in other applications successfully.

Environment specifications:
SM APP: 9.41
SM Serv: 9.41
SM Webtier: 9.41
SM DB: SQL 2012
SM OS: Windows Server 2012 R2

Parents Reply Children
No Data