Last active
October 15, 2017 16:06
-
-
Save nutchy/47a57834b73e1be356a0e47bb8a260b9 to your computer and use it in GitHub Desktop.
[MyLazyInstagram] - LazyInstagramApi.java
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 LazyInstagramApi { | |
// Host | |
String BASE_URL = "https://us-central1-retrofit-course.cloudfunctions.net"; | |
@GET("/getProfile") // Call API via HTTP GET | |
Call<UserProfile> getProfile(@Query("user") String userName); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment