title: Laravel - array post from api saves to database as "Array" how to get array items
body: <p>I have an external api that send a POST to my server the POST body comes in a json response as an array </p>
  
  <pre><code>{
    "IDs": [
      1378143,​1378141,​1971403,​1451025,​1451026,​1374561,​1378036,​1371423,​1371424,​         
      1971568,​1371426,​1718539,​1718515,​1831163,​1718540,​1362068,​1376341,​1378221,
      1378222,​1378220,​1380468,​1380467,​1417322,​1385612,​1971567
    ] 
  }
  </code></pre>
  
  <p>I save the post as following:</p>
  
  <pre><code>$Id = new IdModel();
  $Id-&gt;id = $request['IDs'];
  $Id-&gt;save();
  </code></pre>
  
  <p>This save the array in my database column id as "Array" how can I get all the values in the array to save instead of the word Array?</p>