Thanks for the really nice
crul package. I would like to use it to create a R api package but I have an issue.
I tried to dig into the documentation with no success.
I want to know how to do basic http (or other methods) authentication like in Python
requests or with R package
Here are two examples of what I want to achieve with
crul (let me know if it is right place such question or I should as it at SO).
from requests.auth import HTTPBasicAuth
requests.get("https://api.github.com/user", auth = ('username', 'password'))
Or with the package R httr
GET(url = 'https://api.github.com/user', authenticate(user = 'username', password = 'password'))
Thanks again for the support