No, unfortunately I don't have access
do you have access to the source of whatever server based application you are loading?
No, but I know it is an asp based application.
Following is the source of the HTML
<FORM name="frmLogin" METHOD=POST ACTION="/abclogin.form" onsubmit="re
+turn(doSubmit());">
<td align=left><INPUT TYPE=TEXT NAME="usernm" VALUE="" MAXLENGTH=128 S
+IZE=7></td>
</tr>
<tr>
<th align=right>PIN:</th>
<td align=left><INPUT TYPE=password NAME="pswd" VALUE="" MAXLENGTH=128
+ SIZE=12>
</td>
</tr>
<tr>
<td align=center colspan=2><INPUT TYPE=submit NAME="buttonSubmit" VALU
+E=" OK "onClick="if (checkCookiesAtField(username)) return true; el
+se return false;"></td>
</tr>
Following is my code which do the POST, can u check anything wrong in it,
$auth_url = "https://www.auth-abc.com/abclogin.form";
my $request = POST $auth_url,
[
'usernm' => 'myname',
'pswd' => 'mypassword',
'buttonSubmit' => ' OK '
];
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.