I don't know how to sum this up, but I am trying to post form information from this certain website. I don't know if I am allowed to post it, so i'll try and explain. I am quiet knew to Inet, so i'm not familiar with its procedures and what not. Just to give you an idea, the program I am making is for a website kind of like Myspace, a community site. I am trying to make it where it can auto-add users, only for educational use only and personal. I know of how to post data with the headers and such, but what I need to do is get the source or form data from the friend request page. Why? Before you can request a person, it has a TOKEN data that needs to be sent out. So after getting the TOKEN, I would post the header as such:

Code:
POST /member/sendFriendRequest.do HTTP/1.1
Host: www.stickam.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.stickam.com/member/preSendFriendRequest.do?friendUserId=174571635..Cookie:
I suppose that would be easy, but in order for it to go through I need to add this in the header:

Code:
org.apache.struts.taglib.html.TOKEN=c83a219710b877e070f5d0ebfe17c1e6&message=&addFriendBtn=Send+Request&userName=shadowman_4&friendUserId=174571635
All I know is the TOKEN is a hidden form in the page before posting the data, I really don't know how to explain. Let me try an outline:
1. Go to friend request page.
2. Click Submit.
3. While clicking the submit it sends the data of a hidden form, TOKEN, if the TOKEN does not authorize with the server the add is rejected.

So, go to friend request page, get the data of the hidden form(TOKEN) then send out the headers for the post.

If you have any other suggestions instead of inet, let me know. Also I do not want to use the WebBrowser control, it is icky and it uses too much CPU and is slow. If you know how to do this in winsock, share an example or some sort.

Thank you ,
mikeyy.