Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在android中使用retrofit 2进行HTTP请求。API 已实现删除方法并期望 3 个参数我能够与 1 个参数集成,但无法使用 3 个参数执行。在邮递员上运行它时,API 响应正常
我厌倦了一个参数,它对我来说很好用
以下是 DELETE 方法中多个参数的示例:
@Headers("Accept: application/json") @DELETE("/users/{x}/data/{y}/{id}") Call<Response> deleteData( @Path("x") String x, @Path("y") String y, @Path("id") String id );