Readme fixed.

master
Nicolas Favre-Felix 14 years ago
parent fcb4ed5e2c
commit 730454de9b

@ -24,7 +24,7 @@ curl -d "GET/hello" http://127.0.0.1:7379/
* Enrich config file * Enrich config file
* Provide timeout * Provide timeout
* Restrict commands by IP range * Restrict commands by IP range
* Add your own here or send your suggestions on twitter [@yowgi](http://twitter.com/yowgi). * Send your ideas using the github tracker or on twitter [@yowgi](http://twitter.com/yowgi).
# HTTP error codes # HTTP error codes
* Missing key: 404 Not Found * Missing key: 404 Not Found
@ -40,7 +40,7 @@ The URI `/COMMAND/arg0/arg1/.../argN` returns a JSON object with the command as
<pre> <pre>
// string // string
$ curl http://127.0.0.1:7379/GET/y $ curl http://127.0.0.1:7379/GET/y
{"GET":"42"} {"GET":"41"}
// number // number
$ curl http://127.0.0.1:7379/INCR/y $ curl http://127.0.0.1:7379/INCR/y

Loading…
Cancel
Save