iControl REST Cookbook - LTM policy (ltm policy)
This cookbook lists selected ready-to-use iControl REST curl commands for LTM policy related resources (the tmsh command xxx ltm policy ). Each recipe consists of the curl command and it's tmsh eq...
Updated Jun 06, 2023
Version 2.0Satoshi_Toyosa1
Ret. Employee
Joined May 15, 2019
MMarco_77
Oct 10, 2020Cirrus
It doesn't work for me the API for replace the policies attached to a virtual server,
curl -sku admin:default https://192.168.1.74/mgmt/tm/ltm/virtual/http_policy/policies \
-H "Content-type: application/json" -X POST \
-d '{"name":policy_sorrypage}' | jq . -M
{
"code": 400,
"message": "Found invalid JSON body in the request.",
"errorStack": [],
"apiError": 1
}
where is the error?
Tks