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

368
Views
Si configuro un token usando Postman, el valor del token es nulo en el entorno

Si configuro un token con Postman, el valor del token es nulo en el entorno. Por ejemplo, para ser un poco más específicos: Solicitud POST

 { "username": "test", "password": "password" }

Respuesta:

 { "status": 0, "message": "success" "token":"zxvnm5yrhd6dfdfd6fd8g56f6teui5AXgGk851" }

Ese token debe agregarse a otras API para poder probarlo, pero quiero que se agregue automáticamente, o simplemente llamarlo, para no tener que copiar y pegar siempre. Código:

 var data = pm.response.json(); console.log(pm.environment.set("token", data.access_token)); pm.globals.unset("jwttoken"); console.log(pm.globals.toObject()); pm.globals.set("jwttoken", response.json().token); console.log(pm.globals.toObject());

Ambiente: ingrese la descripción de la imagen aquí

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!