programmatically submitting a form (http)? 
Author Message
 programmatically submitting a form (http)?

I am porting a small python script which makes use
of httplib to post a form (in the http way) and process the result.

Are there any classes in .net that can help me achieve this ?

TIA
--
edmz



Wed, 07 Jul 2004 01:45:03 GMT  
 programmatically submitting a form (http)?
If I understand you correctly, you want to be able to use some component to
generate the appropriate HTTP POST message and send it to server.  The
System.Net namespace is what you are looking for.  (Lance R, will also
probably post something about IPWorks .NET edition, which is nice, but for
simple HTTP posting you do not need it.)  Specifically, you can use the
WebRequest class to post to a server.  There is a few samples in the
QuickStarts to get you started, look for ClientPost.

Matthew Arnheiter


Quote:
> I am porting a small python script which makes use
> of httplib to post a form (in the http way) and process the result.

> Are there any classes in .net that can help me achieve this ?



Wed, 07 Jul 2004 03:34:52 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Submit a Form Programmatically?

2. submitting a form programmatically ?

3. Submitting form programmatically

4. Filling out and submitting a form programmatically

5. SUBMIT form with 3 different submit buttons - error

6. Submitting Form WITHOUT Submit Button

7. SUBMIT form with 3 different submit buttons - error

8. What fires the submit action of a form without a submit button

9. Submitting Form WITHOUT a Submit Button

10. Submitting form without submit button...

11. Programmatically activating a Submit Button

12. Programmatically Sending a Click Event to a Submit Button

 

 
Powered by phpBB® Forum Software