title: in Android retrofit post method it shows 200 ok but the data doesn't went to server,
body: <p>I'm New to android, this is my retrofit post service .it show's 200ok and went to onResponse method, but Data does't  wen't to Server...?
  please any one help me , thanks in advance. </p>
  
  <p>This is my post method...</p>
  
  <pre><code>public interface Post {
      @FormUrlEncoded
      @POST("app_register.php")
      Call&lt;Result&gt; createUser(
              @Field("status ") String status,
              @Field("name") Boolean name,
              @Field("email") String email,
              @Field("phone") String phone,
              @Field("city") String city,
              @Field("altphone") String altphone,
              @Field("address") String address,
              @Field("password") String password);
  }
  </code></pre>
  
  <p><em>MainActivity</em></p>
  
  <pre><code>private void userSignUp( ){   
          final ProgressDialog progressDialog = new ProgressDialog(this);
          progressDialog.setMessage(" regester...");
          progressDialog.show();
          progressDialog.setCanceledOnTouchOutside(false);
  
  
          final boolean status =true;
          String name=et1.getText().toString().trim();
          String email=et2.getText().toString().trim();
          String phone=et3.getText().toString().trim();
          String city=et4.getText().toString().trim();
          String altphone=et5.getText().toString().trim();
          String address=et6.getText().toString().trim();
          String password=tie7.getText().toString().trim();
  
  
          Retrofit retrofit = new Retrofit.Builder()
                  .baseUrl(APIUrl.BASE_URL)
                  .addConverterFactory(GsonConverterFactory.create())
                  .build();
  
  
          //Defining retrofit api service
          Post service = retrofit.create(Post.class);
  
          Log.d(TAG, "onResult: Exception: " +service );
  
          //Defining the user object as we need to pass it with the call
          Registrationstatus user = new Registrationstatus(name,status, email, 
                                        password,phone,city,altphone,address);
  
          Log.d(TAG, "onResult1234: Exception: " +user);
  
          //defining the call
          Call&lt;Result&gt; call = service.createUser(
                  user.getName(),
                  user.getStatus(),
                  user.getEmail(),
                  user.getPhone(),
                  user.getCity(),
                  user.getAltphone(),
                  user.getAddress(),
                  user.getPassword()
  
          );
  
  
          call.enqueue(new Callback&lt;Result&gt;() {
  
              @Override
              public void onResponse(Call&lt;Result&gt; call, retrofit2.Response&lt;Result&gt; 
                                              response) {
                  progressDialog.dismiss();
                  int statescode = response.code();
  
                  System.out.println("retrofit response "+response);
                  Log.d(TAG, "onResult: NullPointerException: " +response );
  
                  Toast.makeText(Regestration.this, " "+status, 
                                         Toast.LENGTH_SHORT).show();
  
  
              }
  
              @Override
              public void onFailure(Call&lt;Result&gt; call, Throwable t) {
  
                  progressDialog.dismiss();
  
                  Log.d(TAG, "onFailure" +t );
  
                  Toast.makeText(getApplicationContext(), t.getMessage(), 
                                                   Toast.LENGTH_LONG).show();
  
              }
  
          });
      }
  </code></pre>
  
  <p><em>Result Class</em></p>
  
  <pre><code>public class Result {
  
      @SerializedName("RegistrationStatus")
      @Expose
      private List&lt;Registrationstatus&gt; registrationStatus = null;
  
      public List&lt;Registrationstatus&gt; getRegistrationStatus() {
          return registrationStatus;
      }
  
      public void setRegistrationStatus(List&lt;Registrationstatus&gt; registrationStatus) {
          this.registrationStatus = registrationStatus;
      }
  }
  </code></pre>