Created
June 6, 2019 07:17
-
-
Save pprathameshmore/b903b3863217be55eda0c702e7578883 to your computer and use it in GitHub Desktop.
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
package com.prathameshmore.retrofit_android; | |
import java.util.List; | |
import retrofit2.Call; | |
import retrofit2.http.GET; | |
public interface JsonPlaceHolderApi { | |
@GET("posts/1") | |
Call<List<Post>> getPosts(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment