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

131
Views
¿Hay alguna forma de enviar diferentes casos para un punto final en lugar de CSV o cualquier archivo de datos en Postman?

Este es mi script de solicitud previa en Postman:

 var requestToRun; switch (data["Condition"]) { case (1): requestToRun = [{ "test": "yusuf-klmn", "imageUrl": "", "name":"lop-kjm", "test2": "yusufplm", "type": "Product", "category": "string", "price": 0, "salePrice": 0, "currency": "TRY", "taxRatio": 0, "salesUrl": "" }] break; case (2): requestToRun = [{ "test": "yusuf-klmn", "imageUrl": "", "name":"lop-kjm" , "test2": "yusufplm", "type": "Product", "category": "string", "price": 0, "salePrice": 0, "currency": "TRY", "taxRatio": 0, "salesUrl": "" }] break; } pm.globals.set('req_body', JSON.stringify(requestToRun)); postman.setNextRequest(requestToRun); console.log(requestToRun)

Este es mi contenido del cuerpo de la solicitud: (llamando a req_body aquí como un contenido del cuerpo de Json)

 {{req_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!