title: How to fetch the list of dynamic ID one at a time by applying ID as a parameter in GET URL of API testing using karate
body: <p>I am trying to fetch the list of dynamic id's one at a time by application ID as a parameter in GET URL</p>
  <p>Example : below response is for POST call
  {&quot;Car&quot;: 1,
  content:[{
  &quot;type&quot; : &quot;A&quot;
  &quot;Id&quot; : &quot;1&quot;
  },
  {
  &quot;type&quot; : &quot;B&quot;
  &quot;Id&quot; : &quot;2&quot;
  }
  ]}</p>
  <p>Now for the above POST response I am trying to fetch the data using dynamic Id as a parameter in GET URL
  ex:</p>
  <ul>
  <li>def ID = karate.jsonPath(response, '$.content[*].id')
  Given URL  'https://localhost:8080'
  And path '/'+ID+'/id
  When method GET
  Then status 200</li>
  </ul>
  <p>in GET response I am getting list of Id's instead of single Id in URL as shown below
  This is the output : http://localhost:8080/1,2/id</p>
  <p>As Id's are generating dynamically, so instead of calling one by one ID manually I want to call using parameter<br />
  Can any one suggest me how can I fetch one ID at a time using GET URL ?</p>