RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

How to use Basic Authentication with the Ruby Rest-Client gem

If you’ve ever tried to use basic auth with the rest-client gem, you know it’s not really obvious how to do it. Here is a quick writeup I did to hopefully save the next dev an hour of fiddling: https://www.krautcomputing.com/blog/2015/06/21/how-to-use-basic-authentication-with-the-ruby-rest-client-gem/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in