Http://q.cnblogs.com/q/40850/ previous issues.
In MVC, but the mvc api will not work ..
Provides the following solutions:
<Httpruntime enableversionheader = "false" relaxedurltofilesystemmapping = "true"/>
< System. Webserver > < Validation Validateintegratedmodeconfiguration = "False" /> < Security > <! -- Filter + and- --> < Requestfiltering Allowdoubleescaping = "True" /> </ Security > < Handlers > <! -- If there is a dot in the middle of the URL --> < Add Name = "ApiURIs-ISAPI-Integrated-4.0-en" Path = "/API/v2/XX/image /*" Verb = "Get, Head, post, debug, put, delete, patch, Options" Type = "System. Web. Handlers. transferrequesthandler" Precondition = "Integratedmode, runtimeversionv4.0" /> < Add Name = "ApiURIs-ISAPI-Integrated-4.0-ens" Path = "/API/v2/XX/images /*" Verb = "Get, Head, post, debug, put, delete, patch, Options" Type = "System. Web. Handlers. transferrequesthandler" Precondition = "Integratedmode, runtimeversionv4.0" />
In this way, the mvc api route is followed by the vertex number. You can pass.