diff --git a/API-Status.md b/API-Status.md index 98b141a..bdb6edf 100644 --- a/API-Status.md +++ b/API-Status.md @@ -5,6 +5,11 @@ If you still would like to opt out, simply set `client.session.report_errors = F ## Querying the API status The API is accessed through `GET` requests, which can be made for instance through `curl`. A JSON response will be returned. +**All known errors and their description**: +```bash +curl https://rpc.pwrtelegram.xyz/?all +``` + **Error codes for a specific request**: ```bash curl https://rpc.pwrtelegram.xyz/?for=messages.sendMessage