'HttpClient is throwing object reference not to set exception when calling rest api in .net MAUI app using Android Emulator. it works fine in WinUI

![This is post request call.][Here it will call the API from the Mobile App] ![This is Rest Client Constructor.][Here HttpClient is initialized and assigned]



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source