Are you an LLM? You can read better optimized documentation at /en/wiki/RESTful-API.md for this page in Markdown format
RESTful API
A RESTful API is an HTTP-based interface that exposes resources through URLs and standard methods such as GET, POST, PUT, and DELETE.
In the Clash Meta ecosystem, a RESTful API can be used by dashboards or GUI clients to read status, switch modes, inspect proxies, and update selected nodes.
Common concepts:
- Endpoint: the URL used to access a resource
- Method: the HTTP action
- Request body: data sent to the API
- Response body: data returned by the API
- Secret: a token used to protect the control interface
Do not expose a control API to the public internet unless it is properly protected.
