Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesmartin/http_post_parrot
Listens for HTTP POSTs on arbitrary routes and repeats what it hears
https://github.com/jamesmartin/http_post_parrot
Last synced: 17 days ago
JSON representation
Listens for HTTP POSTs on arbitrary routes and repeats what it hears
- Host: GitHub
- URL: https://github.com/jamesmartin/http_post_parrot
- Owner: jamesmartin
- Created: 2011-01-06T22:46:53.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-01-06T23:49:21.000Z (almost 14 years ago)
- Last Synced: 2024-10-27T04:49:34.770Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
About HTTP POST Parrot
=================================HTTP Post Parrot is a little [Sinatra](http://sinatrarb.com) 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
$ barAn [instance](http://vivid-earth-821.heroku.com) of the app (currently the master branch) runs on
[Heroku](http://heroku.com). 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 startYou'll need the key/value datastore, [redis](http://redis.io/). HTTP Post
Parrot uses Redis to persist the data you post. To
install redis on a homebrew enabled OSX, try:$ brew install redis
Enjoy!