Bruno api request and env changes #13

Merged
hitanshu merged 1 commits from bugfix/bruno_request into test 2025-05-26 19:26:20 +00:00
6 changed files with 28 additions and 7 deletions
Showing only changes of commit 27457eb4a7 - Show all commits

View File

@ -5,7 +5,7 @@ meta {
}
get {
url: http://localhost8080/cloudflare/tunnels
url: {{base_url}}cloudflare/tunnels
body: none
auth: none
}

View File

@ -5,7 +5,7 @@ meta {
}
get {
url: http://localhost:8080/cloudflare/tunnel/{{tunnel_id}}
url: {{base_url}}cloudflare/tunnel/{{tunnel_id}}
body: none
auth: none
}

View File

@ -4,8 +4,16 @@ meta {
seq: 2
}
post {
url: http://localhost:8080/cloudflare/tunnel/50df9101-f625-4618-b7c5-100338a57124
body: none
put {
url: {{base_url}}cloudflare/tunnel/{{tunnel_id}}/add
body: json
auth: none
}
body:json {
{
"service": "http://192.168.0.100:3457",
"hostname": "random.hithomelabs.com",
"originRequest": {}
}
}

View File

@ -5,7 +5,15 @@ meta {
}
put {
url: http://localhost:8080/cloudflare/tunnel/50df9101-f625-4618-b7c5-100338a57124/add
body: none
url: {{base_url}}cloudflare/tunnel/{{tunnel_id}}/delete
body: json
auth: none
}
body:json {
{
"service": "http://192.168.0.100:6000",
"hostname": "random.hithomelabs.com",
"originRequest": {}
}
}

View File

@ -0,0 +1,4 @@
vars {
tunnel_id: 50df9101-f625-4618-b7c5-100338a57124
base_url: http://localhost:8080/
}

View File

@ -1,3 +1,4 @@
vars {
tunnel_id: 50df9101-f625-4618-b7c5-100338a57124
base_url: https://testcf.hithomelabs.com/
}