ApiServicePost

interface ApiServicePost

The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.

Author

Vitaliy Zarubin

Functions

signIn
Link copied to clipboard
open suspend fun signIn(email: String, pass: String): ResponseResult<SignInResponse>

Query login user with callback if success. For example use random query with error response.

signUp
Link copied to clipboard
open suspend fun signUp(email: String, pass: String, fname: String, lname: String, phoneWork: String, phoneHome: String, card: String, cvc: String, bio: String): ResponseResult<SignUpResponse>

Query registration

signUpValidate
Link copied to clipboard
open suspend fun signUpValidate(email: String): ResponseResult<SignUpValidateResponse>

Query validate user email for registration

Properties

api
Link copied to clipboard
abstract val api: OtherApi

Inheritors

OtherApiService
Link copied to clipboard