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]"
1.4m articles
1.4m replys
5 comments
57.0k users