Created
September 20, 2024 18:59
-
-
Save sirkirby/0998c261d6757b1e8f3dd1e204e5bd5f to your computer and use it in GitHub Desktop.
Bruno UDM Network API get traffic rule
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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