evo-doc / back-end

CTU FIT / BI-SP1 / EvoDoc semestral project - Back End
Other
0 stars 0 forks source link

User - isAuthorised #2

Closed dunaevskiy closed 6 years ago

dunaevskiy commented 6 years ago

New Request (url and method is up to you) POST /user/ID/isAuthorised

{token: "..."}

Response: 403 - user is not authorised / wrong token / etc. 200 - user is authorised and has active token