Home > http_post_parrot

http_post_parrot

Http_post_parrot is a project mainly written in Ruby, it's free.

Listens for HTTP POSTs on arbitrary routes and repeats what it hears

About HTTP POST Parrot

HTTP Post Parrot is a little Sinatra web application that remembers data POSTed to a 'listen' route:

$ curl http://vivid-earth-821.heroku.com/listen/foo -d "bar" 

Remembered data can be retrieved by GETtting the associated 'repeat' route:

$ curl http://vivid-earth-821.heroku.com/repeat/foo 
$ bar

An instance of the app (currently the master branch) runs on Heroku. Feel free to give it a try.

To run your own version locally, do this: $ git clone http://github.com/jamesmartin/http_post_parrot $ bundle install $ rake start

You'll need the key/value datastore, redis. HTTP Post Parrot uses Redis to persist the data you post. To install redis on a homebrew enabled OSX, try:

$ brew install redis

Enjoy!