Forum Discussion
Jeff_Witkowski_
Altostratus
Mar 29, 2018LB Method filter not working
My iControl REST call is below followed by a bash error and I think I have some syntax error:
curl -sk -u admin:'' $filter=partition+eq+Shared&?$select=name,loadBalancingMode
My error retur...
Mar 31, 2018
You need to put the URL between quotes or double quotes. Without quotes bash will interpret the ampersand as the end of the command and put it in the background, which makes no sense. Try this:
curl -sk -u admin:'' 'https://10.x.x.x/mgmt/tm/ltm/pool/?$filter=partition+eq+Shared&$select=name,loadBalancingMode'
And you also had a questionmark in your query that doesn't need to be there (between Shared and select).
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