Forum Discussion
Curl usage
Hi,
I am adding a very important usage for curl command.
curl -Ik https://<Virtual_server_Ip>/path1/path2/........
This command shows you accessing Virtual server throughout Bigip itself , this very very useful when you need to test the virtual server from internal network and isolate the external one , also if there are an issue or something drops packets on your Bigip like ( AWAF , APM ... ) this will confirm that something configured wrong in bigip or Virtual server Configuration and it needs to be reviewed and modified.
Also you can see logs from this curl test:
When doing this Curl command, Bigip will use its external self IP address as a source IP and the destination is the Virtual server.
Take this note beside svs & boneyard zamroni777 eagertolearn
thanks
That's a really good point. I personally prefer Postman for tests "from the outside", if possible.
I would like to emphasize the flag -I that you mentioned. Especially when it comes to test health monitors I usually use the HEAD-Method, instead of GET, if I only check the response code. This reduces the amount of unnecessary data between the BIG-IP and server drastically.
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