1 . First I hosted my api on IIS locally . ( If you having trouble doing it please refer to this tutorial : https://www.youtube.com/watch?v=Lt3wve_nb0g )
2 . Then I commented //app.UseHttpsRedirection(); this line using http redirection on my API's program.cs .
3 . Use your IP address instead of local host Instead of this => http://localhost:xxxx/API/ Use http://197.xxx.xx.x: xxxx
Hope these will work for you guys .