Web Forms and Rebol

An issue faced commonly when working with web-based services is the need to convert values to and from the web query format (application/x-www-form-urlencoded).

to-webform [q "My Query"]
load-webform "q=My+Query"

Supports structured data using ‘.’ as path separators:

to-webform [user [name "Chris" pass "Pass"]]
load-webform "user.name=Chris&user.pass=Pass"

Loads duplicate references as a block:

to-webform [a [1 2 3]]
load-webform "a=1&a=2&a=3"

Extracted from QuarterMaster. Other REBOL resources.