On Wed, Apr 23, 2008 at 11:35:07PM +0200, Jan Lehnardt wrote: > $ curl -X GET http://localhost:5984/_config/httpd/port > {"ok":true,"module":"httpd","key":"port","value":"5984"} > $ curl -X PUT http://localhost:5984/_config/httpd/port -d "5985" > {"ok":true,"module":"httpd","key":"port","value":"5985"}
Sweet. > $ curl -X DELETE http://localhost:5984/_config/httpd/port > {"ok":true,"module":"httpd","key":"port","old_value":"5985"} Why bother with `old_value'? > $ curl -X GET http://localhost:5984/_config/httpd/port > {"ok":true,"module":"httpd","key":"port","value":"no_value"} Should `"no_value"' not be `nil'? -- Noah Slater - The Apache Software Foundation <http://www.apache.org/>
