Skip to content

Auth token

Artyom Slepushko edited this page Feb 24, 2019 · 3 revisions

To register, you must send your username and password.

@POST /api/auth/registr_ation

{
    "Email": "[email protected]",
    "Password": "asdasd"
}

Server Answer example

{
   "access_token": "eyJhbGciOiJIUzI1NiIs",
   "email": "[email protected]"
}
Information Value
x-api-version 1.0
Allow anonimoisly yes

Java code example

@POST("/api/auth/token")
Observable<AuthToken> getToken(@Header("Authorization") String credentials);

Wiki

WebApi

Clone this wiki locally