title: okhttp3 RequestBody in Kotlin
body: <p>I want to send a request body like this : </p>
  
  <h2>How I send this ? I will send it as a class ?</h2>
  
  <pre><code>"email":{
      "emailto":"foo@bar.com",
      "emailfrom":"foo@bar.com",
      "emailcc":"foo@bar.com",
      "emailbcc":"foo@bar.com",
      "emailsubject":"Subject",
      "emailtag":"Information",
      "emailtextbody":"---",
      "attachments":[]
  }
  </code></pre>
  
  <hr>
  
  <pre><code>val formBody = FormBody.Builder()
      .add("email", "Your message")
      .build()
  
  val request = Request.Builder()
      .url(url)
      .post(formBody)
      .addHeader("_Token","")
      .addHeader("Content-Type","application/json")
      .build()
  </code></pre>