Forum Discussion
N_67263
Nimbostratus
Aug 27, 2017Understanding the Host in the HTTP request.
Team,
While receiving an HTTP request we are trying to get the HOST field from that request.
e.g. in case we receive http://xyz.externaldomain.com what parameter can I use in the getfield to ext...
Samir_Jha_52506
Noctilucent
Aug 27, 2017N.
You can try other option, which will work based on your requirement. Even though domain length changes.
set host [string tolower [getfield [HTTP::host] "." 1]]
Let us know if any question. Refer link
N_67263
Nimbostratus
Aug 28, 2017Thanks, so in here what does the {"." 1} logic mean?
regards!! N.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
