Forum Discussion
lizunjjg
May 31, 2019Cirrus
rest api
hi: I want to know how to call this part of the content? url:https://clouddocs.f5.com/api/icontrol-rest/APIRef_tm_security_firewall_policy_rules.html
lizunjjg
May 31, 2019Cirrus
haha
I know the right answer、、、、、、
curl -sk -u 'admin:meimima@123' -H "Content-Type:application/json" -X POST https://10.1.10.245/mgmt/tm/security/firewall/policy/ -d '{"name":"policy_test","rules":[{"placeBefore":"first","name":"rule_test","status":"scheduled","schedule":"wer3","action":"accept","source":{"addresses":"5.5.5.0/24"},"virtualServer":"jiajingge"}]}'
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects