Forum Discussion
REST API not working when options query param contains an object name with Special Character
Hi Team,
We are having issues when options query param contains an object name REST API with Special Character * is not working for F5 V13.
Example :
This api is working fine.
https://localhost/mgmt/tm/gtm/wideip/a/~Common~www.app2*.com:A/stats
We knew that there was an similar issue on F5 V11 which was fixed in V12. Reference below:
https://support.f5.com/csp/article/K31404493
- PeteWhiteEmployee
I don't think the options field does what you are expecting it to. See https://cdn.f5.com/websites/devcentral.f5.com/downloads/icontrol-rest-api-user-guide-16-1-0.pdf
They explain it as:
Specifies the options to a query request. This parameter takes values that are compatible with the tmsh command-line options, for example,
tmsh list apm oauth token-details db-instance /Common/oauth-api-db
is equal to
https://localhost/mgmt/tm/apm/oauth/tokendetails?options="db-instance","/Common/oauth-api-db"
or
https://localhost/mgmt/tm/apm/oauth/tokendetails?options="db-instance"+"/Common/oauth-api-db".
Recent Discussions
Related Content
* 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