Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rangav authored Oct 21, 2023
1 parent 4f95bd5 commit d9d0f20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,16 +272,16 @@ The default location will be Active Environment when you use `{{variable}}`. You
To set Env variables from [Scripting](https://github.com/rangav/thunder-client-support/blob/master/docs/filters.md#scripting), please see the below examples.

```js
// To save to **active** environment
// To save to active environment
tc.setVar(varName, value);

// To save to **local** environment
// To save to local environment
tc.setVar(varName, value, "local");

// To save to **global** environment
// To save to global environment
tc.setVar(varName, value, "global");

// To set variable for **collection** or **request** level
// To set collection or request level variables
tc.setVar(varName, value, "request");
```
<a name="auth"></a>
Expand Down

0 comments on commit d9d0f20

Please sign in to comment.