mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 14:08:38 +00:00
19 lines
395 B
Plaintext
19 lines
395 B
Plaintext
meta {
|
|
name: api-setEnvVar-ephemeral-save
|
|
type: http
|
|
seq: 3
|
|
}
|
|
|
|
get {
|
|
url: {{host}}/ping
|
|
body: none
|
|
auth: none
|
|
}
|
|
|
|
script:pre-request {
|
|
// No `{ persist: true }` — both writes become ephemeral overlays in Redux.
|
|
// Clicking Save in the env editor must still commit them to disk.
|
|
bru.setEnvVar("plain_var", "scripted_plain");
|
|
bru.setEnvVar("secret_var", "scripted_secret");
|
|
}
|