Skip to content

Instantly share code, notes, and snippets.

@ejhayes
Created July 14, 2010 23:45
Show Gist options
  • Save ejhayes/476280 to your computer and use it in GitHub Desktop.
Save ejhayes/476280 to your computer and use it in GitHub Desktop.
require 'rest_client'
RestClient.post 'http://inventoryscanner.heroku.com/items.json', :item => {:barcode => "test barcode", :latitude => "-1", :longitude => "-1"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment