Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

198
Views
Postman - transfer response array as a variable in request body

I have a GET api call which returns the following response:

{
  "transId": "01",
  "Products": [
    {
      "ProductID": "02",
      "ProductName": "Berry"
    },
    {
      "ProductID": "01",
      "ProductName": "Apple"
    }
  ]
}

and I wanted the ProductNames to be automatically included in the body of another API request whenever I retrieve that response from that API. (as a variable or something)

{
  "ProductsList": [
    {
      "ProductName": "Berry"
    },
    {
      "ProductName": "Apple"
    }
  ]
}

May I know what should be placed in the Tests portion of the first API to achieve the placing of the product names depending on the number of the products returned, to the body of the second API?

Should be able to have the array be inside the ProductsList array body.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!