Forum Discussion
Radu_Faragau_18
Nimbostratus
Feb 26, 2015Assign iRule to Virtual Server via iControl REST
Hi guys,
I am trying to create a Virtual Server using iControl REST API but I have problems specifying the iRule to be assigned to the server.
Here is the JSON content I am POST-ing:
{...
What_Lies_Bene1
Cirrostratus
Feb 26, 2015Perhaps you've missed something but shouldn't the URI be .../mgmt/tm/ltm/virtual/?
I'd imagine you need braces around the rule name:
[{"/Common/_sys_https_redirect"}]
Alternatively, try adding a name parameter:
[{"name": "/Common/_sys_https_redirect"}]
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