added additional API methods to the documentation

pull/92/head
Sujan Midatani 2024-05-11 23:24:31 +05:30
rodzic a7c8843967
commit d4c8ab4d49
1 zmienionych plików z 20 dodań i 0 usunięć

Wyświetl plik

@ -25,3 +25,23 @@
- It is idempotent, meaning that calling the same DELETE request multiple times should have the same effect as calling it once.
- Use the DELETE method when you want to remove a resource from the server.
- **OPTIONS**:
- The OPTIONS method is used to describe the communication options for the target resource.
- It is idempotent, meaning that calling the same OPTIONS request multiple times should have the same effect as calling it once.
- Use the OPTIONS method when you want to retrieve the communication options for a resource.
- **HEAD**:
- The HEAD method is similar to the GET method, but it only retrieves the headers of the response without the body.
- It is idempotent, meaning that calling the same HEAD request multiple times should have the same effect as calling it once.
- Use the HEAD method when you want to check the headers of a resource without retrieving the body.
- **TRACE**:
- The TRACE method is used to test the connectivity between the client and the server.
- It is idempotent, meaning that calling the same TRACE request multiple times should have the same effect as calling it once.
- Use the TRACE method when you want to test the connectivity between the client and the server.
- **CONNECT**:
- The CONNECT method is used to establish a tunnel to the server using a proxy.
- It is not idempotent, meaning that calling the same CONNECT request multiple times may result in different outcomes.
- Use the CONNECT method when you want to establish a tunnel to the server using a proxy.