3
Answers

Sending Get Request using swagger but getting error 404

I'm using swagger while we are sending request for get with parameters than facing an error 404.
geting record with two primary key UserId= "PC\TEST" and UserName= "Annonym"
 
When i pass the value without backslash in UserId it run successfully but when slash than it return error 404
 
My Web.Config
 
<system.web>
   <httpRuntime requestPathInvalidCharacters=""  targetFramework="4.7.2" />
</system.web>
 
<security>
   <requestFiltering allowDoubleEscaping="true" />
</security>
 

Answers (3)