Hello Stackoverflow community, I'm getting a 404 (Not Found) message when making this call from my typescript code:
http://localhost:9090/api/employees/ERNEST A/L I.G. MILLER,/1/1/1/1/1
But when I make this call it does work.
http://localhost:9090/api/employees/ERNEST MILLER,/1/1/1/1/1
I tried using the encodeURIComponent to encode my call but that doesnt encode DOTS and giving me same 404 error.
http://localhost:9090/api/employees/ERNEST%20A%2FL%20I.G.%20MILLER,/1/1/1/1/1
I then tried adding trailing "/" at the end of my call but that didnt work either.
http://localhost:9090/api/employees/ERNEST%20A%2FL%20I.G.%20MILLER,/1/1/1/1/1/
I even tried other solutions on stackoverflow but none of them worked for me.
Solutions I tried but not worked.
<system.webserver>
<modules runAllManagedModulesForAllRequests="true">
<system.web>
<httpRuntime relaxedUrlToFileSystemMapping="true" />
<add name="ApiURIs-ISAPI-Integrated-4.0"
path="/people/*"
verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS"
type="System.Web.Handlers.TransferRequestHandler"
preCondition="integratedMode,runtimeVersionv4.0" />
I am using ASP .Net, MVC 5.2.4.0 and Angular 6 for my project. Any help would highly be appreciated.