From 91cec7b9b6305def1061e456bc23cb574e73bd44 Mon Sep 17 00:00:00 2001 From: Lonami Date: Mon, 25 Sep 2017 12:03:05 +0200 Subject: [PATCH] Mention how to get all errors at once --- API-Status.md | 5 +++++ 1 file changed, 5 insertions(+) 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