devnullNZ
Jun 19, 2017Nimbostratus
Understanding PATCH syntax when constructing update requests
Would love to see some practical examples of syntax use when using the iControl REST API.
I'm trying to modify a datagroup data value via the API, but failing. Using Postman, successfully auth'd, sending PATCH https://dev-lb1.lab.int/mgmt/tm/ltm/dataGroup/internal/~Common~mtest-routing-datagroup{"records":["name":"default", "data":"virt_host2"]}
Test is to modify the data value, from "virt_host1" to "virt_host2" Then take this and turn it into an ansible task.
The syntax surrounding defining what I'm changing is unclear, and so far I've only managed to test exceptions