Created
September 20, 2024 19:01
-
-
Save sirkirby/6edb2016424b93d20b8ed418b61e23c0 to your computer and use it in GitHub Desktop.
Bruno UDM Network API get firewall 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: GetFirewallRule | |
type: http | |
seq: 3 | |
} | |
get { | |
url: https://{{udm-ip}}/proxy/network/api/s/default/rest/firewallrule/{{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