Hi,

I am using the REST service of BaseX. I'm using POST with the following body to send requests (XPath/XQuery):

<query xmlns="http://basex.org/rest">
  <text><![CDATA[ (//city/name)[position() <= 5] ]]></text>
</query>

(it's the example from the documentation)


Most of the time it works well, but when the XQuery request is to long I get a 401 status code (not authenticated) while I am authenticated.

Is there any solution for this problem?



Thanks @all