Skip to content

Commit d4c8ab4

Browse files
added additional API methods to the documentation
1 parent a7c8843 commit d4c8ab4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

contrib/api-development/api-methods.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,23 @@
2525
- It is idempotent, meaning that calling the same DELETE request multiple times should have the same effect as calling it once.
2626
- Use the DELETE method when you want to remove a resource from the server.
2727

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+

0 commit comments

Comments
 (0)