{"action":"created","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/1300","labels_url":"https://api.github.com/repos/square/retrofit/issues/1300/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/1300/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/1300/events","html_url":"https://github.com/square/retrofit/issues/1300","id":117734828,"number":1300,"title":"@Field parameters can only be used with form encoding. (parameter #1)","user":{"login":"woodygithub","id":7663246,"avatar_url":"https://avatars.githubusercontent.com/u/7663246?v=3","gravatar_id":"","url":"https://api.github.com/users/woodygithub","html_url":"https://github.com/woodygithub","followers_url":"https://api.github.com/users/woodygithub/followers","following_url":"https://api.github.com/users/woodygithub/following{/other_user}","gists_url":"https://api.github.com/users/woodygithub/gists{/gist_id}","starred_url":"https://api.github.com/users/woodygithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodygithub/subscriptions","organizations_url":"https://api.github.com/users/woodygithub/orgs","repos_url":"https://api.github.com/users/woodygithub/repos","events_url":"https://api.github.com/users/woodygithub/events{/privacy}","received_events_url":"https://api.github.com/users/woodygithub/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-19T03:39:58Z","updated_at":"2015-11-19T03:49:23Z","closed_at":"2015-11-19T03:41:17Z","body":"```java\r\npublic interface TeamListService {\r\n    @Headers(\"Content-Type: application/json\")\r\n    @GET(API.URL.TeamList)\r\n    Observable<List<TeamListResult>> getTeamList(@Field(\"return\") String ret, @Field(\"game_id\") String gameId);\r\n}\r\n```\r\n```java\r\nObservable<List<TeamListResult>> recent = ServiceClient.getService(TeamListService.class).getTeamList(URLEncoder.encode(\"recent\"), URLEncoder.encode(\"1\"));\r\n        recent.observeOn(AndroidSchedulers.mainThread())\r\n                .subscribeOn(Schedulers.io())\r\n                .subscribe(new Action1<List<TeamListResult>>() {\r\n                    @Override\r\n                    public void call(List<TeamListResult> teamListResult) {\r\n                        recentList = teamListResult;\r\n                        adapter.notifyDataSetChanged();\r\n                    }\r\n                }, new Action1<Throwable>() {\r\n                    @Override\r\n                    public void call(Throwable throwable) {\r\n                        Log.e(TAG, throwable.getMessage());\r\n                    }\r\n                });\r\n```\r\n\r\nuse retrofit1.9 how fix it"},"comment":{"url":"https://api.github.com/repos/square/retrofit/issues/comments/157943257","html_url":"https://github.com/square/retrofit/issues/1300#issuecomment-157943257","issue_url":"https://api.github.com/repos/square/retrofit/issues/1300","id":157943257,"user":{"login":"woodygithub","id":7663246,"avatar_url":"https://avatars.githubusercontent.com/u/7663246?v=3","gravatar_id":"","url":"https://api.github.com/users/woodygithub","html_url":"https://github.com/woodygithub","followers_url":"https://api.github.com/users/woodygithub/followers","following_url":"https://api.github.com/users/woodygithub/following{/other_user}","gists_url":"https://api.github.com/users/woodygithub/gists{/gist_id}","starred_url":"https://api.github.com/users/woodygithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodygithub/subscriptions","organizations_url":"https://api.github.com/users/woodygithub/orgs","repos_url":"https://api.github.com/users/woodygithub/repos","events_url":"https://api.github.com/users/woodygithub/events{/privacy}","received_events_url":"https://api.github.com/users/woodygithub/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T03:49:23Z","updated_at":"2015-11-19T03:49:23Z","body":"so I must  like this?\r\n```java\r\n@Target(METHOD)\r\n@Retention(RUNTIME)\r\n@RestMethod(value = \"DELETE\", hasBody = true)\r\npublic interface TeamListService {\r\n    @FormUrlEncoded\r\n    @Headers(\"Content-Type: application/json\")\r\n    @GET(API.URL.TeamList)\r\n    Observable<List<TeamListResult>> getTeamList(@Field(\"return\") String ret, @Field(\"game_id\") String gameId);\r\n}\r\n```"}}