Mention how to get all errors at once

Lonami 2017-09-25 12:03:05 +02:00
parent 8177220b2d
commit 91cec7b9b6

@ -5,6 +5,11 @@ If you still would like to opt out, simply set `client.session.report_errors = F
## Querying the API status ## 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. 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**: **Error codes for a specific request**:
```bash ```bash
curl https://rpc.pwrtelegram.xyz/?for=messages.sendMessage curl https://rpc.pwrtelegram.xyz/?for=messages.sendMessage