Created
April 21, 2019 03:37
-
-
Save manoelstilpen/567d2efebabd20aa1c48150344f5d41f to your computer and use it in GitHub Desktop.
Retrofit Interface Twitter API
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
public interface TwitterAuthAPI { | |
@Headers({"content-type: application/x-www-form-urlencoded"}) | |
@POST("oauth2/token?grant_type=client_credentials") | |
Call<BearerCredential> getBearerToken(@Header("authorization") String authorization); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment