Created
June 3, 2019 04:33
-
-
Save pprathameshmore/7df2c088ed5e7782c1de78ae9cdc73c5 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") | |
Call<List<Post>> getPosts(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment