Forum Discussion
Richard_Grigsb1
Mar 03, 2021Altostratus
Stumped by regular expression
Requirement: build a health Check to send an api url call to server and parse the return value for key indicators. URL: rldimedas1.tcbna.net/rest/apigateway/health/all Crafted Send String...
Simon_Blakely
Mar 03, 2021Employee
I always start my regex development at
(\"elasticsearch\")(.*)(\n\B)(\s*.*\n\B)(\s*\"status\": \"green\")
matches the first stanza.
It gets harder from there ...
- Richard_Grigsb1Mar 05, 2021Altostratus
Could the issue actually be in the formatting of my GET string?
Here is the URL the DEV OPS Team gave me:
HTTPS:// rldimedas1.tcbna.net/rest/apigateway/health/all
Here is how I formatted the Send String:
GET /rest/apigateway/health/all HTTP/1.1\r\nHost: rldimedas1.tcbna.net\r\nConnection: Close\r\n\r\n
This request requires a username and password so they have been entered
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