1
0
mirror of https://framagit.org/tom79/fedilab-tube synced 2025-02-13 02:20:35 +01:00
This commit is contained in:
Thomas 2021-01-05 17:37:27 +01:00
parent 327f6f0e8d
commit 0a919c85ab

View File

@ -28,12 +28,13 @@ import retrofit2.http.Query;
interface MastodonService {
@FormUrlEncoded
@POST("apps")
Call<Oauth> getOauth(
@Query("client_name") String client_name,
@Query("redirect_uris") String redirect_uris,
@Query("scopes") String scopes,
@Query("website") String website);
@Field("client_name") String client_name,
@Field("redirect_uris") String redirect_uris,
@Field("scopes") String scopes,
@Field("website") String website);
@FormUrlEncoded
@POST("/oauth/token")