I was recently tasked with calling a REST service using Basic Authentication.
I was not sure how to do it but I found that it was really easy to do using the RestSharp library.
In order to use BasicAuthentication you just need to use the
And that's all. As you can see pretty easy!