PRM392Xuất hiện trong 1 đề thi
What is the difference between @Path and @Query annotations in Retrofit?
Các lựa chọn
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@Path encrypts data before sending, whereas @Query sends data in plain text.
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.