HttpClient
[
^] is a C# object, not of Java. That would only work if you are building Android app using Xamarin. I am not about Xamarin, but ASP.NET team has surely shared the source code for consuming ASP.NET Web API in C# code. Read it here,
Calling a Web API From a .NET Client in ASP.NET Web API 2 (C#) | The ASP.NET Site[
^]
On the other hand if you are going to develop Android application, then you cannot use C# code and instead you are going to use the native Java APIs for networking.
HttpURLConnection
[
^] object is one of such objects. For native Java Android sample read this,
Connecting to the Network | Android Developers[
^]. You would require to use this API URL, then consume the API. That would return the JSON content (or XML based on the configuration), for which you would need to have some JSON serializers. Read this thread for a tutorial on that,
Android JSON Parser Tutorial[
^].