Forum Discussion
Rudi_95802
Jun 06, 2014Nimbostratus
How do I enable and disable pool members using iControlREST
Hi
I'm trying to the following PUT request to enable a pool member (IP's masked out):
https://10.102.xx.xx/mgmt/tm/ltm/pool/~QA~pool_vcoza_portal_UAT/members/~QA~10.102.xx.xx:9001
My request ha...
Kapil_Malhotra_
Nimbostratus
I tried this but getting the following error. {"code":415,"message":"Found invalid content-type. The content-type must be application/json. The received content-type is application/x-www-form-urlencoded","errorStack":[]}
Romuald_197888
Jun 26, 2015Nimbostratus
Hello,
I've got the same error : {"code":400,"message":"Found invalid JSON body in the request.","errorStack":[]}
With the following request :
curl -sk -u admin:xxxxx -H "Content-Type: application/json" -X PUT -d '{"session": "user-enabled"}' https://xx.xx.xx.xx/mgmt/tm/ltm/pool/~PREPROD~POOL_COLLECTEAI/members/~PREPROD~host.domain.fr:80
Any idea ?
Thanks
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