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