Published on

PostMan

Authors
  • avatar
    Name
    Timothy Blanks

To get an auth token and update the env variable

    // response JSON example
    // { "ID":"token" }
    var res = pm.response.json();
    pm.environment.set('envVarName', res.ID);