views:

38

answers:

1

Hey whhat's up. I've been looking at some example source codes but I can't quite figure it out. I'd like to send a POST request to login to a website with my account. For an example, how would I login to this website using HttpWebRequest..

http://z4.invisionfree.com/cotec/index.php?

It's for an application I'm building for my clan where you have to have an account on the forum to open the application, so if the login works it opens.

A: 

Why not leverage this bit of code to simplify your effort: http://joel.net/code/easyhttp.aspx

Nissan Fan
peppersock
You could yes. Just make sure that whatever the form fields are named you specify them in the fashion you show.
Nissan Fan