Skip to content

Instantly share code, notes, and snippets.

@RobertApikyan
Created September 22, 2021 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RobertApikyan/3265f5ef0369919d35d20764802ef2c5 to your computer and use it in GitHub Desktop.
Save RobertApikyan/3265f5ef0369919d35d20764802ef2c5 to your computer and use it in GitHub Desktop.
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