0 votes
222 views
in android by (0 points)
closed by
You need to retrieve a list of photos from an API. Which code snippet defines an HTML GET request in Retrofit?

a. @GET("photo/{id}"} fun listPhotos(@Path("id") id:Long?) : Call
b. @LIST("photo") fun listPhotos() : Call<List>
c. @GET("photo") fun listPhotos() : Call
d. @GET("photo") fun listPhotos() : Call<List>
closed

1 Answer

0 votes
by (0 points)
 
Best answer
d

2.8k questions

2.8k answers

0 comments

76 users

Welcome to MCQ Village Q&A, where you can ask questions and receive answers from other members of the community.
...