not so simple post to a web site

Chipp Walters chipp at chipp.com
Sat May 25 00:38:01 EDT 2002


Kee,

try:

post "user=bartsimpson&pass=maggiesimpson&querytext="&myValue to URL
https://www.kagi.com/cgi-bin/TheQueryCGI.cgi

where myValue is the value of the textarea you want to post.

If you need to post filedata, try the altSAfileup control at:
http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm

-Chipp

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Kee Nethery
> Sent: Friday, May 24, 2002 6:12 PM
> To: use-revolution at lists.runrev.com
> Subject: not so simple post to a web site
>
>
> I have a simple web page, source shown below (the names have been
> changed to protect the innocent). The web page this HTML creates is a
> form with one field and one button. Enter text into the field and
> press the button and in submits the text to a CGI which returns HTML.
>
> I'd like to use Revolution to hit the same web CGI and get data back
> but I cannot figure out what parts and pieces go into the parts of
> the "post" command in Revolution.
>
> Can someone show me how I would convert this web page into the "post"
> command (if that is the correct command) if the text that was entered
> into the field on the web page was "this is the text in the field"?
>
> --------------
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE html
> 	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> 	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> lang="en-US"><head><title>Kagi Query</title>
> </head><body><form method="post"
> action="https://www.kagi.com/cgi-bin/TheQueryCGI.cgi?user=bartsimp
son&pass=maggiesimpson"
> enctype="application/x-www-form-urlencoded">
> <input type="hidden" name="user" value="bartsimpson" /><input
> type="hidden" name="pass" value="maggiesimpson" /><textarea
> name="queryText" rows="10" cols="80"></textarea><br /><br /><input
> type="submit" name=".submit" /></form></body></html>
> --------------
>
> It's a mystery to me. Thanks in advance.
>
> Kee Nethery
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list