Forum Discussion
lizunjjg
Cirrus
Jul 22, 2019use curl to call restapi
hi guys : I used RESTAPI to create the AFM policy , but VIP cant call this policy. This is my code and related code error: [root@localhost /]# curl -sk -u 'admin:admin' -H "Content-Type:applicatio...
- Jul 22, 2019
Hi
Try this
curl -sk -u 'admin:admin' -H "Content-Type: application/json" -X PATCH https://10.1.10.66/mgmt/tm/ltm/virtual/vs_ddos -d '{"fwEnforcedPolicy":"/Common/policy_test"}'
lizunjjg
Cirrus
Jul 22, 2019I first create the AFM policy and then associate it with the existing virtual server,
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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