This is a much simpler HTTP library called HTTParty. The standard library that comes with Ruby is quite verbose, you have to convert a string to a URL, specify URLs and ports and all sorts of longwinded stuff. This is much easier. There's both a command line interface, if you just want to test things out for the queue at the command line, for example, as well as a ruby library. I'll show both here. You can install it with
gem install httparty.
httparty -H Accept:application/json "http://nine.eng.utah.edu/schools" # Accepts JSON, uses POST instead of GET, and does BASIC authentcation, which the queue requires # once you've logged in. I can show you that later. httparty -H Accept:application/json -a post -u username:password "http://nine.eng.utah.edu/schools"