Created
September 22, 2021 12:01
-
-
Save RobertApikyan/3265f5ef0369919d35d20764802ef2c5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.hfh.wellbe.smartwatch.api.apiClient.retrofit.services | |
import com.hfh.wellbe.smartwatch.models.OauthResult | |
import retrofit2.Call | |
import retrofit2.http.FieldMap | |
import retrofit2.http.FormUrlEncoded | |
import retrofit2.http.POST | |
interface OauthApiService { | |
@FormUrlEncoded | |
@POST("token") | |
fun clientLogin(@FieldMap body: Map<String, String>): Call<OauthResult> | |
@FormUrlEncoded | |
@POST("token") | |
fun userLogin(@FieldMap body: Map<String, String>): Call<OauthResult> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment