# HTTP Methods

HTTP defines a set of **request methods** to indicate the desired action to be performed for a given resource.

TRACE - The `TRACE` method performs a message loop-back test along the path to the target resource.\
\
Check: <https://www.blackhillsinfosec.com/three-minutes-with-the-http-trace-method/>

Other HTTP Methods are:

GET\
POST

PUT

PATCH

PUT is expecting full resource details to modify, while PATCH is expecting with partial details itself to modify stuff

OPTIONS

Using Get request with payload is not a good practise for client applications like in frontend websites, while in RFC protocol nothing is stopping from using that approach.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://til.kurianbenoy.com/programming/http-methods.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
