☑Kizspy.me
(Choose 1 answer)
☐ A
Back
Next
FUO.sh
sh the exam.
What is the difference between @Path and @Query annotations in Retrofit?
A. A. @Path is used to insert values into the URL path, while @Query is used to add parameters to the URL's
query string.
B. B. @Path encrypts data before sending, whereas @Query sends data in plain text.
C. C. @Path is used for POST requests, and @Query is used for GET requests.
D. @Path and @Query serve the same purpose and can be used interchangeably.