Skip to content

Instantly share code, notes, and snippets.

@kxhitiz
Created February 14, 2013 11:26
Show Gist options
  • Save kxhitiz/4952218 to your computer and use it in GitHub Desktop.
Save kxhitiz/4952218 to your computer and use it in GitHub Desktop.
HTTParty Header Token Authentication
HTTParty.get "http://localhost:3000/teams.json", :headers=>{"Authorization"=>"Token token=\"a8d8ce14d2402a2e1912c25f39df770b\""}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment