Article View: borland.public.cppbuilder.internet.web
Article #1065Login with the POST method
From: Aditya
Date: Wed, 28 Sep 2005 20:54
Date: Wed, 28 Sep 2005 20:54
23 lines
1950 bytes
1950 bytes
A particular webpage has the following code. can someone please explain how
to login to it using the POST method .I'v tried both IdHTTP( indy ) and
NMHTTP.. both dont work. Any help wud be appreciated thanks
<form method="post" action="user-login" name="login">
<input type="hidden" name="hash"
value="DCE6B22AAFC495EE7C0D0C7D0110F3CE36CCC22C" />
<input type="hidden" name="token_id" value="342" />
<input type="hidden" name="return_url" value="/index.tcl" />
<input type="hidden" name="time" value="1127940206" />
<table>
<tr><td>Your email address:</td><td><input type="text" name="email" value=""
/></td></tr>
<tr><td>Your password:</td>
<td><input type="password" name="password" /></td></tr>
<tr><td colspan="2">
<input type="checkbox" name="persistent_cookie_p" value="1" />
Remember this address and password?
(<a href="explain-persistent-cookies">help</a>)</td></tr>
<tr><td colspan="2" align="center"><input type="submit" value="Submit"
/></td></tr>
</table>
</form>
Technical Details
Message-ID:
<433b0280$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!newsfeed.news2me.com!peer01.west.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: feeec,182643a863859289,start X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Aditya" <supersonic_ak@yahoo.com> Newsgroups: borland.public.cppbuilder.internet.web Subject: Login with the POST method Date: Thu, 29 Sep 2005 02:24:08 +0530 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Antivirus: avast! (VPS 0539-1, 09/27/2005), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 202.88.191.174 Message-ID: <433b0280$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1127940736 202.88.191.174 (28 Sep 2005 13:52:16 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsread.com!newsprint.newsread.com!newsfeed.news2me.com!peer01.west.cox.net!cox.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail