Does anyone know how to do basic authentication with RestClient?
I need to create a private repository on GitHub through their RESTful API.
The easiest way is to embed the details in the URL:
RestClient.get "http://username:[email protected]"
2.1m questions
2.1m answers
60 comments
57.0k users