L
L
LB7772015-02-20 09:50:12
IIS
LB777, 2015-02-20 09:50:12

How to resolve error 405.0 - Method Not Allowed?

Raised the IIS server on the local machine. Raised a site on it and attached WebApi to it. After accessing the WebApi on the site, a 405 error Method Not Allowed crashes.
In more detail, on the site in the index page there is a simple form that sends data to the server and receives a response from the server. The data comes to the server and from the server comes to the page (caught by breakpoints), but after receiving the data, the page immediately opens the error “HTTP Error 405.0 - Method Not Allowed. The page you are looking for cannot be displayed because an invalid method (HTTP command) is being used."
What could be the problem and how to fix it?
e46f4c9a77d144dc80c654ad5e63c1e5.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Pukhov, 2015-02-20
@Neuroware

Google advises to do so what happens?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question