From a8fdefaa509babbba0659859aed7bf8b4fb6cdaf Mon Sep 17 00:00:00 2001 From: ittzik <45922160+ittzik@users.noreply.github.com> Date: Wed, 11 Sep 2019 01:24:33 +0300 Subject: [PATCH] Update README.md flip wrong parameters --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b8d8c802c..3b9e7a708 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ public static final MediaType JSON OkHttpClient client = new OkHttpClient(); String post(String url, String json) throws IOException { - RequestBody body = RequestBody.create(json, JSON); + RequestBody body = RequestBody.create(JSON, json); Request request = new Request.Builder() .url(url) .post(body)