Forum Discussion
Joel_Newton
Jun 03, 2015Cirrus
Examples of JSON for adding an iRule for a virtual server via the REST API
I'm looking for examples of how to do this. I came across the post below, but it wasn't clear that it actually worked.
https://devcentral.f5.com/questions/assign-irule-to-virtual-server-via-ico...
Joel_Newton
Jun 04, 2015Cirrus
Thanks, Nathan. I'm running v11.6. Getting the /virtual/(virtual server) URI really helped.
I did get PUT to work with this method. I'm hoping to get POST working, though PUT is probably better for handling adding and removing, since you just have to set the total state you want.
Cheers, Joel
- natheJun 04, 2015CirrocumulusNo probs glad I could help
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