From 34f7d99639d6c9024b39137f6f4c3d8df31402d4 Mon Sep 17 00:00:00 2001 From: Dennis Schoepf Date: Fri, 26 Apr 2024 17:23:09 +0200 Subject: [PATCH] Updates bruno requests --- bruno/Status.bru | 2 +- bruno/environments/local.bru | 2 +- bruno/users/Get all users.bru | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 bruno/users/Get all users.bru diff --git a/bruno/Status.bru b/bruno/Status.bru index c91325a..3b2809f 100644 --- a/bruno/Status.bru +++ b/bruno/Status.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{base_url}}/status + url: {{base_url}}/ body: none auth: none } diff --git a/bruno/environments/local.bru b/bruno/environments/local.bru index a5d3938..c94b3ec 100644 --- a/bruno/environments/local.bru +++ b/bruno/environments/local.bru @@ -1,3 +1,3 @@ vars { - base_url: http://localhost:42069 + base_url: http://127.0.0.1:42069 } diff --git a/bruno/users/Get all users.bru b/bruno/users/Get all users.bru new file mode 100644 index 0000000..3756659 --- /dev/null +++ b/bruno/users/Get all users.bru @@ -0,0 +1,15 @@ +meta { + name: Get all users + type: http + seq: 1 +} + +get { + url: {{base_url}}/api/v1/users + body: none + auth: none +} + +headers { + x-api-key: willbechanged +}