http xml post

  • Thread starter Thread starter CindyH
  • Start date Start date
C

CindyH

Hi

What would be the best way to post and receive http xml post using vb.net?

Thanks,
CindyH
 
CindyH said:
What would be the best way to post and receive http xml post using vb.net?

The most flexible is WebRequest/HttpWebRequest and
WebResponse/HttpWebResponse but WebClient might suffice depending on
what exactly you want to do.
 
Hi Martin:

You seem to be the only one that knows anything about this.

I'm trying to use webrequest - webresponse.
I have set up a simple test with one aspx form holding the post code and
trying to get another aspx form to receive the post on local server right
now.
Can you explain to me the possible reasons why a 'GetResponse' - to send the
data to a server might not be working for a simple text file with one line.

test.text - contains: this is a test.

Using streamwriter to wrap the text in string and send as stream.

so it looks like this "this is test".

Either the 'Getresponse' to send to server or the 'reader as streamreader =
new streamreader(page.request.inputstream)' is not working.

From everything I have read and heard this should work.

Thanks, CindyH
 
Back
Top