29 Oct
2011
29 Oct
'11
1:33 p.m.
Hi, If I try the first POST example in the "Command Line" examples section at the end of http://docs.basex.org/wiki/REST, I get the following response from the REST server: HTTP/1.1 400 Bad Request Content-Length: 24 Server: Jetty(6.1.26) Unknown parameter: count For the records, the command is: curl -i -X POST -H "Content-Type: application/xml" \ -d "<query xmlns='http://www.basex.org/rest'><text>//city/name</text><parameter name='count' value='5'/></query>" \ "admin:admin@localhost:8984/rest/factbook" Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/