Changes

Jump to navigation Jump to search
38 bytes added ,  23:25, 12 September 2011
# The content type is overwritten in any case if a specific [[Serialization|media-type]] is chosen, again as query parameter or within the query.
The following three example requests will all return <code>application/xml</code> as content-typeand <code>&lt;a/&gt;</code> as result:
:<code>http://admin:admin@localhost:8984/rest?query=%3Ca/%3E</code><br/><code>http://admin:admin@localhost:8984/rest?query=%3Ca/%3E&method=xml</code><br/><code>http://admin:admin@localhost:8984/rest?query=%3Ca/%3E&media-type=application/xml</code>
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu