Skip to content

Instantly share code, notes, and snippets.

@sirkirby
Created September 20, 2024 18:59
Show Gist options
  • Save sirkirby/0998c261d6757b1e8f3dd1e204e5bd5f to your computer and use it in GitHub Desktop.
Save sirkirby/0998c261d6757b1e8f3dd1e204e5bd5f to your computer and use it in GitHub Desktop.
Bruno UDM Network API get traffic rule
meta {
name: GetTrafficRule
type: http
seq: 6
}
get {
url: https://{{udm-ip}}/proxy/network/v2/api/site/default/trafficrule/{{rule-id}}
body: none
auth: none
}
headers {
x-csrf-token: {{csrf-token}}
Cookie: {{cookie}}
Content-Type: application/json
}
vars:pre-request {
rule-id:
csrf-token: bru.getEnvVar("csrf-token")
cookie: bru.getEnvVar("cookie")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment