通过翻新2在GET请求中发送JSON正文

时间:2020-06-19 12:31:54

标签: android kotlin retrofit2

您知道一种使用Retrofit 2在GET查询中发送JSON的干净方法吗?这不起作用:

@GET
fun getProducts(
  @Body search: SearchRequest
): Call<List<Product>>

0 个答案:

没有答案