This repository has been archived by the owner on Mar 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Неожиданный 401 UNAUTHORIZED #28
Labels
bug
Something isn't working
Comments
не воспроизвелось. |
С заголовком
Без заголовка
|
аналогично для DELETE всё ок: curl -X DELETE 'https://api.meter4.me/v2/controller/2/activate?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxfQ.67xd4JeTDQDOyJ3jLUxsAC937QKe9UoaEC4pYKeTaus' 401: curl -H "Content-Type: application/json" -X DELETE 'https://api.meter4.me/v2/controller/2/activate?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxfQ.67xd4JeTDQDOyJ3jLUxsAC937QKe9UoaEC4pYKeTaus' |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
баг не затрагивает рабочую область, но всё равно это странное поведение:
если в заголовке GET запроса передать
Content-Type: application/json
, то будет возвращен 401 UNAUTHORIZED вне зависимости от того, валидный токен или нет.было проверено на
/user/user_info
и/v2/user/relations
The text was updated successfully, but these errors were encountered: