<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
My Internet Tools
(<a class="moz-txt-link-freetext" href="http://www.benibela.de/sources_en.html#internettools">http://www.benibela.de/sources_en.html#internettools</a>) are made for
that.<br>
<br>
For example:<br>
<br>
uses simpleinternet;<br>
<br>
var i: IXQValue;<br>
begin<br>
for i in
process(httpRequest(process('<a class="moz-txt-link-freetext" href="http://www.example.org/the/page/with/the/login/form">http://www.example.org/the/page/with/the/login/form</a>',
'form(/form, {"username": "'+username+'", "password":
"'+password+'"})')),<br>
'//tr/td[2]') do<br>
writeln(i.toString);<br>
end.<br>
<br>
will fill out the login form on the first page, then load the second
page, and print the values of the second column of all table rows<br>
<br>
<br>
<div class="moz-cite-prefix">On 08/28/2013 10:07 PM, Osvaldo Filho
wrote:<br>
</div>
<blockquote
cite="mid:CAGUu44gFqf48myVzGLqjRP_rkkDfBFfaayDimfrorCwtO1onDQ@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr"><span id="result_box" class="" lang="en"><span
class="">Is there any</span> <span class="">example</span>
<span class="">to</span> <span class="">access information on</span>
<span class="">web</span> <span class="">site that</span> <span
class="">requires authentication</span> <span class="">with</span>
<span class="">login and password</span> <span class="">in</span>
<span class="">form using</span> <span class="">http</span> <span
class="">from a</span> <span class="">Lazarus</span> <span
class="">application</span><span class="">?</span></span></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a></pre>
</blockquote>
<br>
</body>
</html>