auth.token — плоский ответ как у /oauth/token (Phoenix).
| Параметр | Тип | Обязательный | Описание |
|---|---|---|---|
grant_type |
mixed | нет | |
refresh_token |
mixed | нет | |
username |
mixed | нет | |
password |
mixed | нет |
curl -s -X POST 'https://durovloh.net/api.php' \ -d 'method=auth.token' \ -d 'access_token=USER_TOKEN'