Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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