parse-post ( -- assoc )


Vocabulary
cgi.private

Inputs
None

Outputs
assocan object


Definition


: parse-post ( -- assoc )
"CONTENT_TYPE" os-env "" or content-type {
{ "multipart/form-data" [ multipart ] }
{ "application/x-www-form-urlencoded" [ urlencoded ] }
[ drop parse-get ]
} case nip ;