Bruno api request and env changes

This commit is contained in:
Kruti Shah 2025-05-27 00:46:57 +05:30
parent a6c74d4443
commit 27457eb4a7
6 changed files with 28 additions and 7 deletions

View File

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

View File

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

View File

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

View File

@ -5,7 +5,15 @@ meta {
} }
put { put {
url: http://localhost:8080/cloudflare/tunnel/50df9101-f625-4618-b7c5-100338a57124/add url: {{base_url}}cloudflare/tunnel/{{tunnel_id}}/delete
body: none body: json
auth: none 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 { vars {
tunnel_id: 50df9101-f625-4618-b7c5-100338a57124 tunnel_id: 50df9101-f625-4618-b7c5-100338a57124
base_url: https://testcf.hithomelabs.com/
} }