Dear All,
I need to fill two fields in a form and then submit it. As I'm not well versed in this area, I come here and for some guidance.
The page where they sit is coded as follows:
<html>
<body>
<form id="form1" name="form1" action="envia_arq2.php" method="post">
Senha: <input TYPE="password" NAME="senha" SIZE="12"><br /><br />
Seu nome: <input TYPE="text" NAME="nome" SIZE="12">
<input name="enviar" type="submit" value="Enviar">
</form>
</body>
</html>
This is a FMX application, so I can't use TWebBrowser as I've found in several articles in the internet.
Furthermore, even the VCL version I couldn't make work, after navigating to the page the Document property is nil, making it impossible to retrieve the fields as indicated in those articles.
I then moved on to ICS TSslHttpCli, tried a few basic things, but I came up empty on the very first attempt where I just set the URL (https://www.trivial.com.br/envia_arq2.htm) and did a GET to try and see how to proceed from there. An exception is raised signaling a missing SSL Context. Perhaps this is not the way to go.
Could you please kindly share some light on this?
Thanks in advance.
-- Carlos