From 8ee6a3f134dc7e007d9ca76395ad68db5fb5335f Mon Sep 17 00:00:00 2001 From: Owen Date: Sun, 23 Feb 2025 21:35:13 -0500 Subject: [PATCH] Add bruno --- bruno/Clients/createClient.bru | 22 ++++++++++++++++++++++ bruno/Clients/pickClientDefaults.bru | 11 +++++++++++ 2 files changed, 33 insertions(+) create mode 100644 bruno/Clients/createClient.bru create mode 100644 bruno/Clients/pickClientDefaults.bru diff --git a/bruno/Clients/createClient.bru b/bruno/Clients/createClient.bru new file mode 100644 index 00000000..7577bb28 --- /dev/null +++ b/bruno/Clients/createClient.bru @@ -0,0 +1,22 @@ +meta { + name: createClient + type: http + seq: 1 +} + +put { + url: http://localhost:3000/api/v1/site/1/client + body: json + auth: none +} + +body:json { + { + "siteId": 1, + "name": "test", + "type": "olm", + "subnet": "100.90.129.4/30", + "olmId": "029yzunhx6nh3y5", + "secret": "l0ymp075y3d4rccb25l6sqpgar52k09etunui970qq5gj7x6" + } +} diff --git a/bruno/Clients/pickClientDefaults.bru b/bruno/Clients/pickClientDefaults.bru new file mode 100644 index 00000000..61509c11 --- /dev/null +++ b/bruno/Clients/pickClientDefaults.bru @@ -0,0 +1,11 @@ +meta { + name: pickClientDefaults + type: http + seq: 2 +} + +get { + url: http://localhost:3000/api/v1/site/1/pick-client-defaults + body: none + auth: none +}