Forum Discussion
emilorol_373618
Oct 22, 2018Nimbostratus
Virtual server details get a 404 with CURL
Hi,
I am trying to get the virtual server details from a CURL call:
curl -svku "admin:admin" https://0.0.0.0/mgmt/tm/ltm/virtual/virtualtest
And I keep getting the following error:
...
Lee_Sutcliffe
Oct 22, 2018Nacreous
Try sending the credentials as POST data:
curl -X POST \
https://bigip/mgmt/tm/ltm/virtual/virtualtest \
-H 'Content-Type: application/json' \
-d '{
"username":"admin",
"password":"admin",
"loginProviderName": "tmos"
}'
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