Začínáme · Chyby
Nepovolená metoda
Endpoint nepodporuje použitou HTTP metodu.
405
METHOD_NOT_ALLOWEDPříčina
- Požadavek používá jinou metodu než GET; API v1 slouží pouze ke čtení.
Řešení
- Použijte GET; povolené metody uvádí hlavička Allow.
Příklad odpovědi
405application/problem+json
{
"type": "https://developers.coinero.cz/errors/method-not-allowed",
"title": "Method not allowed",
"status": 405,
"code": "METHOD_NOT_ALLOWED",
"detail": "This API is read only and this path does not accept the request method. The methods it does accept are listed in the Allow response header.",
"requestId": "0HN7GK4L2M9PQ"
}