Changes

Jump to navigation Jump to search
17 bytes added ,  15:46, 12 September 2011
:<code>curl -i -H "Content-Type: text/xml" -d "&lt;HelloWorld/&gt;" "admin:admin@localhost:8984/rest/collection"</code>
;POST (Query)
:<code>curl -i -X POST -H "Content-Type: application/query+xml" -d <br/> "&lt;query xmlns='<nowiki>http://www.basex.org/rest'</nowiki>&gt;&lt;text&gt;//city/name&lt;/text&gt;&lt;parameter name='count' value='5'/&gt;&lt;/query&gt;" <br/> "admin:admin@localhost:8984/rest/factbook"</code>
:<code>curl -i -X POST -H "Content-Type: application/query+xml" -T query.xml "admin:admin@localhost:8984/rest/factbook"</code>
;PUT
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu