marklogic/ml-rest-lib — Issue #3: Process parameters in the body of PUT and DELETE request
Author: isubiker
Created: 2012-01-03 02:58:50+00:00
State: open
Labels: RFE

Unfortunately when a PUT or DELETE request is submitted to MarkLogic with a content-type of application/x-www-form-urlencoded, the request body is not treated as such and therefore the parameters contained in it are not available via xdmp:get-reqeust-field().

It would be exceptionally handy for the rest lib to fill in this gap by parsing the body of a PUT or DELETE request with a content type of application/x-www-form-urlencoded and making those parameters available at matching time so they can be validated, cast, etc.