Jeegen Prajapati

Jeegen Prajapati

  • NA
  • 26
  • 7.4k

Sending Get Request using swagger but getting error 404

Dec 10 2019 11:25 PM
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)