{"action":"created","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/854","labels_url":"https://api.github.com/repos/square/retrofit/issues/854/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/854/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/854/events","html_url":"https://github.com/square/retrofit/issues/854","id":78460352,"number":854,"title":"method POST must have a request body.","user":{"login":"crossle","id":1675131,"avatar_url":"https://avatars.githubusercontent.com/u/1675131?v=3","gravatar_id":"","url":"https://api.github.com/users/crossle","html_url":"https://github.com/crossle","followers_url":"https://api.github.com/users/crossle/followers","following_url":"https://api.github.com/users/crossle/following{/other_user}","gists_url":"https://api.github.com/users/crossle/gists{/gist_id}","starred_url":"https://api.github.com/users/crossle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crossle/subscriptions","organizations_url":"https://api.github.com/users/crossle/orgs","repos_url":"https://api.github.com/users/crossle/repos","events_url":"https://api.github.com/users/crossle/events{/privacy}","received_events_url":"https://api.github.com/users/crossle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-05-20T10:04:48Z","updated_at":"2016-01-15T13:45:46Z","closed_at":"2015-06-04T02:37:45Z","body":"   Why?\r\n\r\n    compile 'com.squareup.okhttp:okhttp:2.3.0'\r\n    compile 'com.squareup.retrofit:retrofit:1.9.0'\r\n\r\n```\r\n                     D  java.lang.IllegalArgumentException: method POST must have a request body.\r\n                        D      at com.squareup.okhttp.Request$Builder.method(Request.java:236)\r\n                        D      at retrofit.client.OkClient.createRequest(OkClient.java:59)\r\n                        D      at retrofit.client.OkClient.execute(OkClient.java:53)\r\n                        D      at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:326)\r\n                        D      at retrofit.RestAdapter$RestHandler.access$100(RestAdapter.java:220)\r\n                        D      at retrofit.RestAdapter$RestHandler$2.obtainResponse(RestAdapter.java:278)\r\n                        D      at retrofit.CallbackRunnable.run(CallbackRunnable.java:42)\r\n                        D      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)\r\n                        D      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)\r\n                        D      at retrofit.Platform$Android$2$1.run(Platform.java:142)\r\n                        D      at java.lang.Thread.run(Thread.java:818)\r\n```"},"comment":{"url":"https://api.github.com/repos/square/retrofit/issues/comments/171964833","html_url":"https://github.com/square/retrofit/issues/854#issuecomment-171964833","issue_url":"https://api.github.com/repos/square/retrofit/issues/854","id":171964833,"user":{"login":"pgreze","id":14812354,"avatar_url":"https://avatars.githubusercontent.com/u/14812354?v=3","gravatar_id":"","url":"https://api.github.com/users/pgreze","html_url":"https://github.com/pgreze","followers_url":"https://api.github.com/users/pgreze/followers","following_url":"https://api.github.com/users/pgreze/following{/other_user}","gists_url":"https://api.github.com/users/pgreze/gists{/gist_id}","starred_url":"https://api.github.com/users/pgreze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgreze/subscriptions","organizations_url":"https://api.github.com/users/pgreze/orgs","repos_url":"https://api.github.com/users/pgreze/repos","events_url":"https://api.github.com/users/pgreze/events{/privacy}","received_events_url":"https://api.github.com/users/pgreze/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T13:45:46Z","updated_at":"2016-01-15T13:45:46Z","body":"I don't understand: this bug is very old, seems closed but still in the [latest version](https://github.com/square/okhttp/blob/master/okhttp/src/main/java/okhttp3/Request.java#L239).\r\n\r\nThis problem has broken many libraries (like [twitter-core](https://github.com/twitter/twitter-kit-android/issues/32)) and many developers are probably stuck with an old version.\r\n\r\nCould you reopen the issue or explain this breaking change in public API?\r\n\r\n(Thanks for your answer and this wonderful library :smile: )"}}