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
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()
2 matches
Mail list logo