A Redis HTTP interface with JSON output
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Nicolas Favre-Felix 5492922f37 Added POST support, ideas. 14 years ago
hiredis First import. 14 years ago
Makefile Added POST support, ideas. 14 years ago
README.markdown Added POST support, ideas. 14 years ago
turnip.c Added POST support, ideas. 14 years ago

README.markdown

About

A very simple prototype providing an HTTP interface to Redis.

make clean all
./turnip &
curl http://127.0.0.1:7379/SET/hello/world
curl http://127.0.0.1:7379/GET/hello

→ “world”

Ideas

  • Add meta-data info per key (MIME type in a second key, for instance)
  • Find a way to format multi-bulk data
  • Support PUT, DELETE, HEAD?
  • Add JSON output
  • Add JSONP callbacks
  • Add a config file
    • Provide host, port, timeout
    • Restrict commands by IP range