25 May
2016
25 May
'16
7:55 a.m.
Does it mean that the caller really need to know the type of the resource, in order to determine which db function to call ?
Yes – unless you use WebDAV (which will automatically find out if your input is well-formed XML) or the REST API (which will evaluate the specified content type) [1]. Please note that BaseX is primarily an XML database. This is the reason why extra functions for binary contents have been added. Christian [1] http://docs.basex.org/wiki/Web_Application