T
Thank you
https://album.hot.net.il/Services/A...Activated=1&DateActivated=31/08/2005 12:56:25
Hi all ,
I'm having a small problem and need your advice.
I have WebService on running under 1.1. I have to call another website from
my
WebService , pass a quesry string and wait for a response and then continue.
How can I implement that ? I have tried HttpWebRequest , HttpRequest.
Take a look at this code please:
string tempdata="";
HttpWebRequest _rqstObj =
(HttpWebRequest)WebRequest.Create("http://somewebsite.com/Setup/AlbumA...Activated=1&DateActivated=31/08/2005 12:56:25");
_rqstObj.Method = "POST";
_rqstObj.ContentType = "text/html";
StreamWriter _wrt = new StreamWriter(_rqstObj.GetRequestStream());
_wrt.Write(tempdata);
Why does it work ? what am I doing wrong?
10x
Hi all ,
I'm having a small problem and need your advice.
I have WebService on running under 1.1. I have to call another website from
my
WebService , pass a quesry string and wait for a response and then continue.
How can I implement that ? I have tried HttpWebRequest , HttpRequest.
Take a look at this code please:
string tempdata="";
HttpWebRequest _rqstObj =
(HttpWebRequest)WebRequest.Create("http://somewebsite.com/Setup/AlbumA...Activated=1&DateActivated=31/08/2005 12:56:25");
_rqstObj.Method = "POST";
_rqstObj.ContentType = "text/html";
StreamWriter _wrt = new StreamWriter(_rqstObj.GetRequestStream());
_wrt.Write(tempdata);
Why does it work ? what am I doing wrong?
10x