Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: CGI POST Protocol

From: andreas:bolka:gmx at: 17-Sep-2003 1:35

Tuesday, September 16, 2003, 9:38:33 PM, MeF wrote:
> I have already looked at the docs and example scripts but I have not > found anything that can help me.
Page 12-25 (pdf-page 373) in the REBOL/Core User Guide contains a section on "Posting CGI request".
> I would like to know a way to send data to a web-server as if it > received it from a normal page with a form and using the POST > protocol. > In detail, I want to skip a front page asking for a password interactively > by sending the needed data to the web-server directly through REBOL and so > obtaining directly the second protected page.
read/custom http://page/ [ post "name1=value1&name2=value2" ] or post-data: "name1=value1&name2=value2" read/custom http://page/ compose [ post (post-data) ] -- Best regards, Andreas