[REBOL] Re: works for GET, not POST
From: rebol:techscribe at: 30-Jan-2001 21:39
Hi Ryan,
> My system is as follows:
>
> Apache/1.3.14 (Unix) mod_bwlimited/0.8 mod_log_bytes/0.2 PHP/4.0.4 mod_perl/1.24_01
mod_frontpage/3.0.4.3 mod_ssl/2.7.1 OpenSSL/0.9.5 on Linux
>
> The function I use works with GET, but not with POST
>
> retrieve-user-data: func [] [
> return make object! decode-cgi
> either system/options/cgi/request-method = "POST" [
> input
> ][
> system/options/cgi/query-string
> ]
> ]
>
Using POST:
What exactly happens, if anything?
Have you tried replacing this function simply by
input
?
Could you send me a dump of what input returns? I.e. replace the above
line by
write %dump.txt mold input
TIA,
Elan