Get the App
SLTechnology News&Howtos  ›  Servers  › 

Windows iis disables request methods other than GET and POST

Shulou Source: shulou.com Published: 2022-06-03 04:27:47 10月03日 Update

Disable request methods other than GET and POST

Disable http requests except for GET and POST through the HTTP predicate,

The eight request methods of HTTP 1.1are

1 GET requests the specified page information and returns the entity body.

2 HEAD is similar to a get request, except that there is no specific content in the returned response, which is used to obtain the header

3 POST submits data to the specified resource for processing requests (such as submitting a form or uploading a file). The data is contained in the request body.

POST requests may result in the creation of new resources and / or modification of existing resources.

4 PUT data transferred from the client to the server replaces the contents of the specified document.

5 DELETE requests the server to delete the specified page.

6. The CONNECT HTTP/1.1 protocol is reserved for a proxy server that can change the connection to a pipeline.

7 OPTIONS allows clients to view the performance of the server.

8 TRACE echoes the requests received by the server, mainly for testing or diagnosis.

Noun interpretation: http predicates are http methods, and the HTTP predicate page allows you to create a list of predicates that the request filtering module will allow or deny access to.

Start-> search-> computer Management Services and applications-> webtrends- > request filtering

3. A total of 8 HTTP1.1 request methods are added to the reject predicate, all of which are added to the reject verb except GET and POST

Use Fiddler to access the test to see if it works

Tags: Predicate service server method data resource content client client page test subject information only noun noun interpretation entity that is application performance Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Microsoft macOS NVidia Huawei