[Retrofit2] Body가 있는 Delete Request 방법
2019. 11. 4. 15:17
@DELETE Annotation은 Body를 추가 할 수 없다. @HTTP Annotation을 사용하면 Body를 추가 할 수 있다. Kotlin 기준 @FormUrlEncoded @HTTP(method="DELETE", hasBody=true, path="path") fun deleteSomething(@Field("name") name:String):Response