File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 25
25
- It is idempotent, meaning that calling the same DELETE request multiple times should have the same effect as calling it once.
26
26
- Use the DELETE method when you want to remove a resource from the server.
27
27
28
+ - ** OPTIONS** :
29
+ - The OPTIONS method is used to describe the communication options for the target resource.
30
+ - It is idempotent, meaning that calling the same OPTIONS request multiple times should have the same effect as calling it once.
31
+ - Use the OPTIONS method when you want to retrieve the communication options for a resource.
32
+
33
+ - ** HEAD** :
34
+ - The HEAD method is similar to the GET method, but it only retrieves the headers of the response without the body.
35
+ - It is idempotent, meaning that calling the same HEAD request multiple times should have the same effect as calling it once.
36
+ - Use the HEAD method when you want to check the headers of a resource without retrieving the body.
37
+
38
+ - ** TRACE** :
39
+ - The TRACE method is used to test the connectivity between the client and the server.
40
+ - It is idempotent, meaning that calling the same TRACE request multiple times should have the same effect as calling it once.
41
+ - Use the TRACE method when you want to test the connectivity between the client and the server.
42
+
43
+ - ** CONNECT** :
44
+ - The CONNECT method is used to establish a tunnel to the server using a proxy.
45
+ - It is not idempotent, meaning that calling the same CONNECT request multiple times may result in different outcomes.
46
+ - Use the CONNECT method when you want to establish a tunnel to the server using a proxy.
47
+
You can’t perform that action at this time.
0 commit comments