Re: [basex-talk] A question about RESTXQ rest:form-param()

2020-04-23 Thread Zimmel, Daniel
hmm, what is wrong with this stripped example? form.xqm: module namespace page = 'http://basex.org/examples/web-page'; declare %rest:path("/esv/fun/form") %rest:single function page:form() { let $body := return (web:response-header(map

Re: [basex-talk] A question about RESTXQ rest:form-param()

2020-04-23 Thread Marco Lettere
I set up this restxq [1]. And call it with something like [2]. Got an output of [3] which looks like what I expect. M. [1] module namespace t = "urn:test"; declare   %rest:path("test")   %rest:POST   %rest:consumes("application/x-www-form-urlencoded")   %output:method("html") function t:test()