Skip to content

Instantly share code, notes, and snippets.

@IvanWooll
Last active May 13, 2017 12:33
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 IvanWooll/5b3627dabc11eefa93c4f08e6141525b to your computer and use it in GitHub Desktop.
Save IvanWooll/5b3627dabc11eefa93c4f08e6141525b to your computer and use it in GitHub Desktop.
@FormUrlEncoded
@POST("oauth/token")
Call<AuthResponseModel> auth(
@Field("username") String username,
@Field("password") String password,
@Field("grant_type") String grant_type,
@Field("client_id") Integer client_id,
@Field(
"client_secret") String client_secret
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment