A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.
Please try using an absolute url such like http(s)://<hostname>/api/employees instead of relative url api/employees.
Please note that if the api is located at a cross domain the server of the api must have CORS functionality.