Forum Discussion
cleiton_82 I believe what you are looking for is the following. Please note the line following the send string or receive string is what should be pasted into that respective box in the F5 GUI when configuring the health monitor
send string:
POST /ClayRestApi/NMON40 HTTP/1.0\r\n\r\n\r\n
receive string:
^HTTP\/1.[10]\s5[0-9][0-9]
- cleiton_82Feb 09, 2023Nimbostratus
I need the string with the parameters below:
curl --location --request POST 'http://192.168.0.100:8080/ClayRestApi/NMON40'\
--header 'Content-Type: application/json'\
--data-raw '{ "workflow": "modelSTUB",
"recordType": "NMON40",
"source": "SOURCE",
"dest": "PMAX",
"tranCode": "200",
"dataSpecificationVersion": "2.0",
"extendedHeader": "Via_Var",
"clientIdFromHeader": "U_ORO001_CR",
"recordCreationDate": "20230208",
"recordCreationTime": "190706",
"recordCreationMilliseconds": "016",
"gmtOffset": "-03.00"
}'- PauliusFeb 09, 2023MVP
cleiton_82 In this comment is it necessary to send creation information and time offset or just the other header fields?
- cleiton_82Feb 09, 2023Nimbostratus
Paulius Those same header fields that are in the curl command
--header 'Content-Type: application/json'\
--data-raw '{ "workflow": "modelSTUB",
"recordType": "NMON40",
"source": "SOURCE",
"dest": "PMAX",
"tranCode": "200",
"dataSpecificationVersion": "2.0",
"extendedHeader": "Via_Var",
"clientIdFromHeader": "U_ORO001_CR",
"recordCreationDate": "20230208",
"recordCreationTime": "190706",
"recordCreationMilliseconds": "016",
"gmtOffset": "-03.00"
}'