title: Post request in swift with encodable
body: <p>I want to create a post request in swift but i got confused in <code>Encodable</code> protocols. and how to create them.</p>
  
  <p>below is the data that i want to post :</p>
  
  <pre><code>{
  answers: [{
              "time": 1,
              "score": 20,
              "status": true,
              "answer": 456
   }],
  challenge_date": "2019-03-13"  
  }
  </code></pre>
  
  <p>How can i post it with <code>Encodable</code> or <code>JSONSerialization</code>?</p>