Forum Discussion
Bin_Qiu_195313
Apr 27, 2015Nimbostratus
I got away with the issue by doing below
1) create VIP VIPName with empty profiles
2) add profile to /ltm/virtual/${VIPName}/profiles.
3) Modify the VIP via PUT to modify the irules for the VIP.
But, the below JSON to modify the VIP to add rules does not work
"rules":["/Common/_sys_https_redirect"]
It complain that
{"code":400,"message":"Found invalid JSON body in the request.","errorStack":[]}
if i used "rules":['/Common/_sys_https_redirect']
It complain that
{"code":400,"message":"\"[ '/Common/_sys_https_redirect' ]\" unexpected argument","errorStack":[]}
Please help.