Hello Anupam,
You can use the operation RUN, see [1]. It will execute the file within your HTTPPATH. Variable binding is possible as well.
cheers, Dirk
[1] http://docs.basex.org/wiki/REST#Operations
On 06/17/2012 07:08 PM, Anupam Bakshi wrote:
Hello, I understand that one way to run a rest based XQuery with parameters is to use the following ... |http://localhost:8984/rest/DB/mult.xq?a=21&b=2 http://localhost:8984/rest/DB/mult.xq?a=21&b=2|
This is possible if the query is in the BaseX database.
I need to use REST, but the query file (.xq) and .xqm, .xsl files need to be located on the server but not in the database.
Can someone give me a pointer about how to do that?
Thanks, Anupam
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk