Does anyone know how to do basic authentication with RestClient?
I need to create a private repository on GitHub through their RESTful API.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the source it looks like you can just specify user and password as part of your request object.
Have you tried something like:
Also if you look down in the Shell section of the ReadMe it has an example of specifying it as part of
restshell.