|
From: John D. <joh...@gm...> - 2010-08-31 21:37:12
|
I am attempting to submit a REST Request using "RestClient-Tool" ( http://code.google.com/a/eclipselabs.org/p/restclient-tool/) I have a collection called sandbox. If I submit the following GET Request: http://192.168.56.110:8080/exist/rest/db/sandbox?_query=/ I get results back However, if I try to submit the following PUT Request to: http://192.168.56.110:8080/exist/rest/db/ <?xml version="1.0" encoding="UTF-8"?> <query xmlns="http://exist.sourcefourge.net/NS/exist" start="1" max="20"> <text> <![CDATA[/]]> </text> </query> I get the following error: HTTP Error: 400 Unknown XML root element: query RequestURI=/exist/rest/db/ Any assistance would be greatly appreciated. |