Changes

Jump to navigation Jump to search
385 bytes added ,  16:52, 17 February 2012
If a content type different to <code>application/xml</code> is specified in the request header, the data will be stored as raw resource.
 
There are two ways to store non-XML data in BaseX:
 
* <b>Storing them as raw files.</b> If application/octet-stream is chosen as content-type the data is added as a raw.
* <b>Convert raw data to XML.</b> Raw data can be explicitly converted to XML by specifying the content-type.
 
Trying to add raw data without specifying the content type will lead to a 400 (Bad Request) exception.
; Examples
administrator, Bureaucrats, editor, reviewer, Administrators
408

edits

Navigation menu