- Ruby 1.9.3
ruby server.rb
rspec server_spec.rb
For convenience, following are the curl commands to access the API
curl -X POST -d "" localhost:4567/key
curl -X POST -d "" localhost:4567/key/get
curl -X PUT -d "" localhost:4567/key/123abc/unblock
curl -X PUT -d "" localhost:4567/key/123abc/keepalive
curl -X DELETE localhost:4567/key/123abc
- Added rspec tests
- bugfixes