CORS issue for token based authentication in ionic 4

When i’m uploading my project on hosting site and data is coming from there only,it worked fine on localhost but when i uploaded my webapi on hosting server it’s not working data is not coming and i’m not able to logged into my application.
I tried different ways, in postman data is coming perfectly and i also able to log in.
Error is attached below:

1.) Error:

Access to XMLHttpRequest at ‘http://stylen.in/token’ from origin ‘http://localhost:8100’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

2.) Error:

POST http://stylen.in/token net::ERR_FAILED