16 Oct
2012
16 Oct
'12
2:36 p.m.
Hello List this is a noob question: I have BaseX 7.3 set up using httpserver. I can add a script to HTTPPATH and run it using http://{server:port}/rest?run=myScript.xq However, if I add myScript.xq to a database and try to run it then [http://{server:port}/rest/DB/myScript.xq ] then all I get returned is the XQuery script itself as a text file, the query doesn't run.
From the examples e.g. http://docs.basex.org/wiki/REST#GET_Requests_2 I thought that I am doing the same type of call, e,g, http://localhost:8984/rest/DB/mult.xq?a=21&b=2
What should I be doing? Many thanks Peter
4921
Age (days ago)
4921
Last active (days ago)
0 comments
1 participants
participants (1)
-
pw@themail.co.uk