Hello,
I am trying to implement an XForm for posting data via:
<xf:submission resource="http://localhost:8984/test" method="post" serialization="application/xml" replace="all" />
It should invoke the following query (in webapp):
module namespace page = 'http://basex.org/examples/web-page'; declare %rest:path("/test") %rest:POST("{$data}") function page:hello ( $data as element() ) as element() { $data };
But I get this instead: [image: image.png] TIA for any help, Robert.