{"action":"created","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/1502","labels_url":"https://api.github.com/repos/square/retrofit/issues/1502/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/1502/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/1502/events","html_url":"https://github.com/square/retrofit/issues/1502","id":127874294,"number":1502,"title":"retrofit 2.0  Delete the usage ?","user":{"login":"FangWW","id":5373096,"avatar_url":"https://avatars.githubusercontent.com/u/5373096?v=3","gravatar_id":"","url":"https://api.github.com/users/FangWW","html_url":"https://github.com/FangWW","followers_url":"https://api.github.com/users/FangWW/followers","following_url":"https://api.github.com/users/FangWW/following{/other_user}","gists_url":"https://api.github.com/users/FangWW/gists{/gist_id}","starred_url":"https://api.github.com/users/FangWW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FangWW/subscriptions","organizations_url":"https://api.github.com/users/FangWW/orgs","repos_url":"https://api.github.com/users/FangWW/repos","events_url":"https://api.github.com/users/FangWW/events{/privacy}","received_events_url":"https://api.github.com/users/FangWW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-21T08:50:02Z","updated_at":"2016-01-22T01:57:50Z","closed_at":null,"body":"hi~    What reason is this?   user retrofit 2.0\r\n        @FormUrlEncoded\r\n        @DELETE(USER_COLLECTION_PRODUCT)\r\n        retrofit.Call<RequestBean> deleteCollect(@Field(PRODUCT_ID) int product_id);\r\n\r\n\r\nFATAL EXCEPTION: main\r\n                                                                    java.lang.IllegalArgumentException: FormUrlEncoded can only be specified on HTTP methods with request body (e.g., @POST).\r\n                                                                        for method RequestInterface.deleteCollect\r\n                                                                        at retrofit.Utils.methodError(Utils.java:177)\r\n                                                                        at retrofit.Utils.methodError(Utils.java:167)\r\n                                                                        at retrofit.RequestFactoryParser.parseMethodAnnotations(RequestFactoryParser.java:143)\r\n                                                                        at retrofit.RequestFactoryParser.parse(RequestFactoryParser.java:59)\r\n                                                                        at retrofit.MethodHandler.create(MethodHandler.java:30)\r\n                                                                        at retrofit.Retrofit.loadMethodHandler(Retrofit.java:151)\r\n                                                                        at retrofit.Retrofit$1.invoke(Retrofit.java:132)\r\n\r\n\r\n\r\n\r\nbut \r\n\r\n\r\n@HTTP(method = \"DELETE\", path = USER_COLLECTION_PRODUCT, hasBody = true)\r\n\r\nResults caught into a \"put\" request\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/square/retrofit/issues/comments/173775644","html_url":"https://github.com/square/retrofit/issues/1502#issuecomment-173775644","issue_url":"https://api.github.com/repos/square/retrofit/issues/1502","id":173775644,"user":{"login":"FangWW","id":5373096,"avatar_url":"https://avatars.githubusercontent.com/u/5373096?v=3","gravatar_id":"","url":"https://api.github.com/users/FangWW","html_url":"https://github.com/FangWW","followers_url":"https://api.github.com/users/FangWW/followers","following_url":"https://api.github.com/users/FangWW/following{/other_user}","gists_url":"https://api.github.com/users/FangWW/gists{/gist_id}","starred_url":"https://api.github.com/users/FangWW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FangWW/subscriptions","organizations_url":"https://api.github.com/users/FangWW/orgs","repos_url":"https://api.github.com/users/FangWW/repos","events_url":"https://api.github.com/users/FangWW/events{/privacy}","received_events_url":"https://api.github.com/users/FangWW/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T01:57:50Z","updated_at":"2016-01-22T01:57:50Z","body":"Some information said the delete request can fit into a body some says not to be \r\nin.https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.7\r\nHowever, if no detailed said cannot be put into the body"}}