[REBOL] works for GET, not POST
From: rchristiansen:pop:isdfa:sei-it at: 19-Jan-2001 17:19
I'm using the following function, which is derived from the "Official
Guide," for CGI.
retrieve-user-data: func [] [
return make object! decode-cgi
either system/options/cgi/request-method = "POST" [
input
][
system/options/cgi/query-string
]
]
I use it as such:
cgi-input: retrieve-user-data
to give me an object containing the input values.
My usage is working for GET operations but not for POST. What am
I doing wrong?
-Ryan