Poke::Stick
A command-line client for the Poke message transport server.
Installation
Add this line to your application's Gemfile:
gem 'poke-stick'
And then execute:
$ bundle
Or install it yourself as:
$ gem install poke-stick
Usage
A command-line client for the Poke message transport server. Performs a GET request using the target URI, unless a --file is supplied, in which case a POST request is made using the contents of the supplied file. The mimetype is determined from the file's extension, but this can be overridden (see options below).
$ stick localhost:9995/foo
$ stick localhost:9995/foo foo.xml
Contributing
- Fork it ( https://github.com/joelhelbling/poke-stick/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request