Dear Ivan, this is one of the features which is currently discussed for the next release; additionally, you'll soon be allowed to support hierarchic collection paths, such as.. http://localhost:8984/basex/jax-rx/collection/path/to/filename.xml Some JaxRX interface issues have to be solved first to make this possible. Hope this helps, Christian On Mon, Oct 18, 2010 at 10:25 AM, <ilagunov@evelopers.com> wrote:
Hello,
I've tried using RESTful API HTTP methods PUT and POST for adding a new document to the database. But it appeared to be impossible to specify the name of file to be added.
In POST method we must specify the following URL: http://localhost:8984/basex/jax-rx/collection
In PUT method it's almost the same.
The result is that the file is added with a name like "1287390239789".
Why cannot we specify the URL this way: http://localhost:8984/basex/jax-rx/collection/filename.xml so that the file is added with a name filename.xml?
Best regards, Ivan