I need perform a DELETE request using Retrofit. So, my code snippet of the interface looks like this:
@DELETE(\"/api/item/{id}\") void deleteItem(@Path(\"id\") i
@FormUrlEncoded @HTTP(method = "DELETE", path = "manage-feed", hasBody = true) Call deletePost(@Field("post_id") Integer postId, @Field("share_id") Integer sharedMapId);