fiogf49gjkf0d Hey All,
I am making an HTTP Request call to one of the website.
When I call from normal ASP.net website everything works fine, but when I am calling from any event from SalesLogix (button click) no error is comming, but Request is not going to destination site.
Following is the code for the same. I have checked in Fiddler its not capturing from SLX site but works fine from other ASP.net website.
Please help.
System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create("http://www.smsglobal.com/http-api.php?action=sendsms&user=rrrr&password=333&from=SSDS&to=919890160135&text=testtext&maxsplit=5");
request.Method = "GET";
request.ContentType = "text/xml";
request.Headers.Add("Content-Encoding", "utf-8");
System.Net.WebResponse response = request.GetResponse();
Thank you,
Gaurang |