How to Access Github Content with Basic OAuth Authentication in Java? HTTPClient Or URLConnection Method

Sometime back I’ve written an article on How to Read GitHub File Contents using HttpURLConnection. In that tutorial we have created a simple “InputStreamToString” conversion utility which we will use in this tutorial too. Now let’s start with the concept “Basic Authentication”. HTTP Basic authentication implementation is the simplest technique for