Changes

Jump to navigation Jump to search
45 bytes removed ,  11:25, 28 March 2015
While '''Options''' can be specified for all operations, the remaining parameters will only make sense for '''Query''' and '''Run'''.
=Request Methods=
==GET Requests==
If the GET method is used, all query parameters are directly specified within the URL.
* The next URL lists all database users that are known to BaseX:<br/><code>http://localhost:8984/rest?command=show+users</code>
==POST Requests==
The body of a POST request is interpreted as XML fragment, which specifies the
</pre>
==PUT Requests==
The PUT method is used to create new databases, or to add or update existing database resources:
Have a look at the [[REST#Usage Examples|usage examples]] for more detailed examples using Java and shell tools like cURL.
==DELETE Requests==
The DELETE method is used to delete databases or resources within a database.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu