I have my UI application running on localhost:9000 and Web API on localhost:65239. I have enabled CORS on server side in WebApiConfig.cs--> Register() Method
WebApiConfig.cs--> Register()