Skip to content

Basic Auth and OAuth

igrigorik edited this page Jan 30, 2011 · 1 revision

Basic Auth

To perform a Basic-Auth handshake, specify the authorization key inside of your headers. First field is the username, second is the password: do
  http ='').get :head => {'authorization' => ['user', 'pass']}
  http.callback { }


For an example of performing an OAuth signed request, check the examples directory in the repo.

Something went wrong with that request. Please try again.