From 17a2166cd47d0b5eb7e3a67df1e56ced98be611f Mon Sep 17 00:00:00 2001 From: Dennis Schoepf Date: Fri, 26 Apr 2024 20:23:18 +0200 Subject: [PATCH] Updates bruno requests --- bruno/Status.bru | 11 ----------- bruno/environments/local.bru | 3 +++ bruno/users/Get all users.bru | 2 +- 3 files changed, 4 insertions(+), 12 deletions(-) delete mode 100644 bruno/Status.bru diff --git a/bruno/Status.bru b/bruno/Status.bru deleted file mode 100644 index 3b2809f..0000000 --- a/bruno/Status.bru +++ /dev/null @@ -1,11 +0,0 @@ -meta { - name: Status - type: http - seq: 2 -} - -get { - url: {{base_url}}/ - body: none - auth: none -} diff --git a/bruno/environments/local.bru b/bruno/environments/local.bru index c94b3ec..c3e2449 100644 --- a/bruno/environments/local.bru +++ b/bruno/environments/local.bru @@ -1,3 +1,6 @@ vars { base_url: http://127.0.0.1:42069 } +vars:secret [ + api_key +] diff --git a/bruno/users/Get all users.bru b/bruno/users/Get all users.bru index 3756659..0545e6b 100644 --- a/bruno/users/Get all users.bru +++ b/bruno/users/Get all users.bru @@ -11,5 +11,5 @@ get { } headers { - x-api-key: willbechanged + x-api-key: {{api_key}} }