title: Passing an array of ID's from Postman to Laravel API
body: <p>I'm studying API's and I'm facing a problem. In web apps we can easially pass an array of ID's, for eg categories ID's to the controller. But when we use API, how do we post this array?</p>
  <p>Tipically we have a select input in html.</p>
  <p>I've tried a form-data with categories[] and values [0 =&gt; 1, 1 =&gt; 5] but doesn't work.</p>
  <p>Can someone explain this to me? Regards and thanks.</p>
  <p>EDIT 1:
  Do we need to add N <code>categories[]</code> field and we need to test as an array?</p>