title: post request body is null in retrofit kotlin but the response code is okay(200) plus data is stored in that post request
body: <p>**This is API endpoint where i am sending a json object through post request **  </p>
  
  <pre><code>package com.example.samplegayar
  import com.google.gson.JsonObject
  import org.json.JSONObject
  import retrofit2.Call
  import retrofit2.http.*
  
  interface ApiEndpoints {
       @Headers("Content-Type: application/json")
       @POST("/api/user-profile/")
       fun getProfileInfo(@Body jsonObject: JsonObject): Call&lt;ProfileInfo&gt;
  }
  </code></pre>
  
  <p>My activity file goes here</p>
  
  <pre><code>override fun onCreate(savedInstanceState: Bundle?) {
      super.onCreate(savedInstanceState)
      setContentView(R.layout.activity_profile_)
      val request = ServiceBuilder.buildService(ApiEndpoints::class.java)
      val payerReg = JsonObject()
      payerReg.addProperty("user_email", "test@gmail.com")
      payerReg.addProperty("streamer_email", "test2@gmail.com")
  
      val call = request.getProfileInfo(payerReg)
  
      call.enqueue(object : Callback&lt;ProfileInfo&gt;{
  
          override fun onResponse(call: Call&lt;ProfileInfo&gt;, response: Response&lt;ProfileInfo&gt;) {
              Log.d("response",response.body().toString())
              Log.d("response",response.code().toString())
              Log.d("response",response.raw().toString())
  
              if (response.isSuccessful) {
                  Log.d("response","you got success mate")
                  Log.d("response", response.body().toString())
              }
          }
  
          override fun onFailure(call: Call&lt;ProfileInfo&gt;, t: Throwable) {
              Toast.makeText(this@ProfileActivity, "${t.message}", Toast.LENGTH_SHORT).show()
               Log.d("failure","you are a loser mate")
          }
      })
  }
  </code></pre>
  
  <p>here is my retrofit service code</p>
  
  <pre><code>package com.example.samplegayar
  
  import okhttp3.OkHttpClient
  import retrofit2.Retrofit
  import retrofit2.converter.gson.GsonConverterFactory
  
  object ServiceBuilder {
      private val client = OkHttpClient.Builder().build()
      private val retrofit = Retrofit.Builder()
          .baseUrl("https://dev.gayar.net/")
          .addConverterFactory(GsonConverterFactory.create())
          .client(client)
          .build()
  
      fun&lt;T&gt; buildService(service: Class&lt;T&gt;): T{
          return retrofit.create(service)
      }
  }
  </code></pre>