Forum Discussion
jaikumar_f5
MVP
You have to use -d 'data' =
The JSON data to send. Note that you need to quote the entire json blob, and each "name":"value" pairs must be quoted. When you have nested quotes, make sure you escape (\) them.
Refer the cookbook if it helps.
So something like,
curl -sku admin -H "Content-Type: application/json" -X PATCH https:///mgmt/tm/ltm/virtual/ -d '{"description": "Hello World!"}'
Zulqadar
Sep 28, 2023Nimbostratus
I tried the same thing with PATCH, I want to add IRules, it works but the issue is it overwrites the existing iRules on the virtual server. How can I go about that? Thank you