Forum Discussion
Subrun
Cirrostratus
Apr 15, 2019How to run GET command in F5 CLI
Hello All,
Probably one of the silly question.
GET /index.html HTTP/1.1\r\nHost: host.domain.com\r\nConnection: Close , i want to run this send string command from CLI of F5 to see in repl...
youssef1
Cumulonimbus
Apr 15, 2019Hi,
the simplest solution is to use curl which is supported by F5:
curl -i -k https://1.1.1.1.1/index.html -H "Host: host.domain.com"
- -i : see header in response
- -k : ignore ssl erro
- -H : insert header
- 1.1.1.1 --> set you backend IP
For more info:
https://ec.haxx.se/cmdline-options.html
regards.
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
