title: How to post (x-www-form-urlencoded) Json Data using Retrofit?
body: <p>When I post data in body (x-www-form-urlencoded) it works fine in Postman. But using Retrofit 2.0 Android it does not work.</p>
  
  <pre><code>@Headers("Content-Type: application/x-www-form-urlencoded")
  @POST("/api/jsonws/pushUserData")
  Call&lt;ResponseBody&gt;  pushData(@Body JSONObject jsonObj);
  
  JSONObject jsonObject = new JSONObject();
          try {
              jsonObject.put("role","owner");
              jsonObject.put("id","27001");
  
          } catch (JSONException e) {
              e.printStackTrace();
          }
  
          ApiInterface apiInterface1= ApiClient.getClientAuthentication().create(ApiInterface.class);
          Call&lt;ResponseBody&gt; responseBodyCall = apiInterface1.pushData(jsonObject);
  </code></pre>
  
  <p>This code not work.I also try @FormUrlEncoded.</p>