diff --git a/.DS_Store b/.DS_Store index 2b6273d..7e834b7 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.bruno/folder.bru b/.bruno/folder.bru new file mode 100644 index 0000000..030dbee --- /dev/null +++ b/.bruno/folder.bru @@ -0,0 +1,4 @@ +meta { + name: .bruno + seq: 1 +} diff --git a/.bruno/live-activity.json b/.bruno/live-activity.json new file mode 100644 index 0000000..8104620 --- /dev/null +++ b/.bruno/live-activity.json @@ -0,0 +1,9 @@ +{ + "locks": { + ".bruno/live-activity.json": { + "user": "unknown", + "timestamp": 1762170338090 + } + }, + "lastUpdated": 1762170338090 +} \ No newline at end of file diff --git a/.demo-tick b/.demo-tick new file mode 100644 index 0000000..201dd97 --- /dev/null +++ b/.demo-tick @@ -0,0 +1 @@ +1787319015 diff --git a/Delete.bru b/Delete.bru index 70a537e..1959429 100644 --- a/Delete.bru +++ b/Delete.bru @@ -5,7 +5,44 @@ meta { } delete { - url: - body: none - auth: inherit + url: echo.usebruno.commjkdfnsf + body: json + auth: apikey +} + +headers { + 3: 4 + 51: 61 + 5: 6 + ~1: 2 +} + +auth:apikey { + key: test + value: key-changess + placement: header +} + +body:json { + { + "foo": "bar", + "1": "2", + "3": 4, + "5": 6 + } +} + +assert { + 1: eq 1 + 2: eq 4 +} + +script:pre-request { + const foo = "bar" + // console.log(foo) +} + +script:post-response { + const foo = "bar" + console.log(foo) } diff --git a/Folder1/folder.bru b/Folder1/folder.bru index e8bf38c..070a847 100644 --- a/Folder1/folder.bru +++ b/Folder1/folder.bru @@ -1,6 +1,6 @@ meta { name: Folder1 - seq: 8 + seq: 9 } auth { diff --git a/Get.bru b/Get.bru index 707c587..c81f151 100644 --- a/Get.bru +++ b/Get.bru @@ -1,16 +1,16 @@ meta { name: Get type: http - seq: 2 + seq: 5 } get { - url: https://api.sampleapis.com/countries/countries + url: https://api.sampleapis.com/countries/countriessssss body: none auth: none } script:post-response { - const response = res.getBody(); + const response = res.getBody();; bru.setGlobalEnvVar('id', response[0].id); } diff --git a/Head.bru b/Head.bru index 1514670..8fd6ea8 100644 --- a/Head.bru +++ b/Head.bru @@ -1,7 +1,7 @@ meta { name: Head type: http - seq: 7 + seq: 8 } head { diff --git a/Options.bru b/Options.bru index 2840890..0584f0d 100644 --- a/Options.bru +++ b/Options.bru @@ -1,7 +1,7 @@ meta { name: Options type: http - seq: 6 + seq: 7 } options { diff --git a/Patch.bru b/Patch.bru index 589f9d7..aff4778 100644 --- a/Patch.bru +++ b/Patch.bru @@ -1,11 +1,11 @@ meta { name: Patch type: http - seq: 5 + seq: 6 } -patch { - url: +get { + url: https://usebrun body: none auth: inherit } diff --git a/Post.bru b/Post.bru index e3e59fd..8f0fb52 100644 --- a/Post.bru +++ b/Post.bru @@ -5,7 +5,109 @@ meta { } post { - url: - body: none + url: https://echo.usebruno.com + body: json auth: inherit } + +headers { + test: test + Forwarded: bar +} + +body:json { + { + "foo": "bar", + "number": 123, + "boolean": true, + "array": [1, 2, 3], + "object": { + "foo": "barr" + } + } +} + +script:pre-request { + console.log("1") + console.log("2") + console.log("3") +} + +script:post-response { + console.log("4") + console.log("5") + console.log("6") +} + +example { + name: example + + request: { + url: https://echo.usebruno.com + method: POST + mode: json + headers: { + test: test + Forwarded: bar + } + + body:json: { + { + "foo": "bar", + "number": 123, + "boolean": true, + "array": [1, 2, 3], + "object": { + "foo": "bar" + } + } + } + } + + response: { + headers: { + server: nginx/1.24.0 (Ubuntu) + date: Fri, 23 Jan 2026 04:57:50 GMT + content-type: application/json + content-length: 112 + connection: keep-alive + host: echo.usebruno.com:443 + x-real-ip: 106.51.73.13 + x-forwarded-for: 106.51.73.13 + x-forwarded-proto: https + accept: application/json, text/plain, */* + user-agent: bruno-runtime/3.0.2 + test: test + forwarded: bar + request-start-time: 1769144270061 + accept-encoding: gzip, compress, deflate, br + strict-transport-security: max-age=63072000; includeSubdomains + x-frame-options: DENY + x-content-type-options: nosniff + } + + status: { + code: 200 + text: OK + } + + body: { + type: json + content: ''' + { + "foo": "bar", + "number": 123, + "boolean": true, + "array": [ + 1, + 2, + 3 + ], + "object": { + "foo": "bar" + } + } + ''' + } + } +} diff --git a/Put.bru b/Put.bru index 6ebab4f..cf8ecb3 100644 --- a/Put.bru +++ b/Put.bru @@ -5,7 +5,7 @@ meta { } put { - url: + url: testing.commm body: none auth: inherit } diff --git a/README.md b/README.md index bedffde..2b38922 100644 --- a/README.md +++ b/README.md @@ -1,62 +1,21 @@ -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some -some +# πŸ“˜ Project Title + +A short description of what this project does and who it’s for. +*(Replace this with real content later.)* + +--- + +## πŸš€ Overview + +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + +--- + + +## πŸ›  Installation + +```bash +git clone https://github.com/your/repo.git +cd repo +# install dependencies here +``` \ No newline at end of file diff --git a/environments/test.bru b/environments/test.bru index 9d1c9da..c6429cf 100644 --- a/environments/test.bru +++ b/environments/test.bru @@ -1,2 +1,5 @@ vars { } +vars:externalsecrets:aws-secrets-manager { + aws: arn:aws:secretsmanager:us-east-1:767397862016:secret:aws_bruno_test-wIzmBH +} diff --git a/grpc.bru b/grpc.bru new file mode 100644 index 0000000..9ccebcb --- /dev/null +++ b/grpc.bru @@ -0,0 +1,18 @@ +meta { + name: grpc + type: grpc + seq: 10 +} + +grpc { + url: test + body: grpc + auth: none +} + +body:grpc { + name: message 1 + content: ''' + {} + ''' +} diff --git a/secrets.json b/secrets.json deleted file mode 100644 index 544fd26..0000000 --- a/secrets.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "type": "aws-secrets-manager", - "data": [ - { - "environment": "test", - "secrets": [ - { - "name": "aws", - "secretName": "arn:aws:secretsmanager:us-east-1:767397862016:secret:aws_bruno_test-wIzmBH", - "enabled": true - } - ] - } - ] -} \ No newline at end of file diff --git a/ws.bru b/ws.bru new file mode 100644 index 0000000..e45df45 --- /dev/null +++ b/ws.bru @@ -0,0 +1,25 @@ +meta { + name: ws + type: ws + seq: 11 +} + +ws { + url: we + body: ws + auth: none +} + +body:ws { + name: message 1 + type: json + content: ''' + {} + ''' +} + +settings { + encodeUrl: false + timeout: 10 + keepAliveInterval: 11110 +}