The off-the-shelf REST API in eXist DB uses URLs like this:
http://www.example.com/exist/rest/db/myapp/api/myxquery.xql
In my case, the user will send PUT and DELETE requests.
Is there any reason one could not/should not offer a shorter URL like
http://www.example.com/API/get-play.xql
And then in the eXist controller redirect to:
http://www.example.com/exist/rest/db/shakespeare/api/myxquery.xql
Even reading the documentation, I remain naive about the security implications and complexities about this.
Nb: using eXist 4.7
Many thanks.