Christian Grün wrote:
Hi Christian,
Good point; the query path is not set to the correct location yet. As I didn't find out how to fix this quickly and cleanly, I've added a GitHub entry:
Just to be sure, even though I guess in this case that's most likely that the same problem happens in both cases, I was trying to evaluate the query through a POST, not a GET.
Your query should work if you put them into the default path, specified by the HTTPPATH variable in .basex, and run it the following way:
Well, I used the POST verb because the client does generate the query to evaluate and it could become very tricky to try to first PUT them somewhere in the database.
So just to summarise my problem: I'd like to have a library module on the server and to evaluate a query through a POST, which imports the library module standing on the server.
Please tell me if you want me trying to get a minimalist repro.
Many thanks! Regards,