[REBOL] Re: works for GET, not POST
From: rchristiansen:pop:isdfa:sei-it at: 30-Jan-2001 11:22
I'm still lost on how to use POST to create an object! containing the
values submitted in a form. The following function creates a string!
value called 'data, correct?
retrieve-user-data: func  [
either system/options/cgi/request-method = "POST" [
data: make string! 2002
read-io system/ports/input data 2000
cgi: make object! decode-cgi-query
The /Core user's guide says "a good format for POST data is to use
a REBOL dialect and create a simple parser. The POST data can be
loaded and parsed as a block."
Why isn't there a built-in function for parsing POST data into an
object? Am I missing something?