Skip to content

Instantly share code, notes, and snippets.

@adamlwalker
Created February 10, 2015 20:58
Show Gist options
  • Select an option

  • Save adamlwalker/32ecc95e801d2b5ee47a to your computer and use it in GitHub Desktop.

Select an option

Save adamlwalker/32ecc95e801d2b5ee47a to your computer and use it in GitHub Desktop.
# Print list of FreezerPro user records in JSON
require 'rest_client'
params = {
username: 'adam',
password: 'XXXX',
method: 'users'
}
response = RestClient.post "http://192.168.2.87/api", params
puts response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment