I have an API and web application hosted on the same IIS server. When I try to execute an API method inside the server, it returns "401 unauthorized". When I try to execute an API method outside the server (while debugging) it works just fine. I'm using NTLM authentication for the API.
UPDATE: This is working when I disable NTLM authentication but having it (NTLM) enabled is one of the requirements. :(
Please help me. :(