Hi,

thanks Tom, Kev and Mike, your answers seem to be exactly what I
needed.

Tom



[EMAIL PROTECTED] wrote:
> 
> At 08:42 PM 11/15/99 +0100, you wrote:
> Check out: http://www.nmia.com/~rebol/web/http-post.r
> 
> This is exactly what you are looking for, I think.
> One small change in the script is required to make it work and that
> is it's use of the replace function. Just change ;
> replace encoded-data [": " "="]      to:
> replace encoded-data ": " "="
> 
> >Isn't this the way to handle the GET method? I know how to do that,
> >but I'd suppose the POST method should be handled otherwise.
> >
> >Tom
> >
> >[EMAIL PROTECTED] wrote:
> >>
> >> Though there are many implementation variations, the bottom line is that
> you
> >> want to do something like the following (just a sample, not real code, fill
> >> in your own server, cgi program, args and vals per what your cgi program is
> >> expecting to receive):
> >>
> >> baseurl: "http://server.com/cgi-bin/action.cgi"          ;fill in your own
> >> arguments: "?arg1=val1&arg2=val2&arg3=val3...&argn=valn" ;use your
> names/values
> >> url: to-url join baseurl arguments  ;this creates what is sent to your
> cgi pgm
> >> reply: read url  ;this reads any reply that comes back
> >>
> >> you may then print reply, parse it, save it, as needed.
> >>
> >> Russ
> >>
> >> --------
> >> At 06:57 PM 11/15/99 +0100, you wrote:
> >> >Hi all,
> >> >
> >> >does anybody now how I can use Rebol to load a page that iss
> >> >returned by a cgi script that uses the post method to obtain
> >> >it's parameters? I'd like to automate some cgi queries.
> >> >
> >> >Thanks,
> >> >
> >> >Tom
> >> >
> >> >
> >> >
> >
> >
> Mike Yaunish
> email: [EMAIL PROTECTED]

Reply via email to