therealzeta
Member
- Joined
- Aug 9, 2008
- Messages
- 19
- Programming Experience
- 5-10
Hello, I am doing a softwear that send sms messeges to cel phone thru a url I was given by a provider. He told me to use the address he gave me on my webrowser with the info needed. (for example, www.smsmessage.com?cel='Celphone'&message='texto'. I am searching a way to do this without having to open the webrowser. Could I use this code?? I could do it with out having to open the webrowser.
Dim request As WebRequest = WebRequest.Create("http://www.contoso.com/default.html")
request.Credentials = CredentialCache.DefaultCredentials
Dim response As HttpWebResponse = CType(request.GetResponse(), HttpWebResponse)
I dont have to receive any information back from the webserver. Just to post the info needed to send the messages.
Hope some one can help me.
Thx
Dim request As WebRequest = WebRequest.Create("http://www.contoso.com/default.html")
request.Credentials = CredentialCache.DefaultCredentials
Dim response As HttpWebResponse = CType(request.GetResponse(), HttpWebResponse)
I dont have to receive any information back from the webserver. Just to post the info needed to send the messages.
Hope some one can help me.
Thx