Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

Https monitor- POST

MKuma
Nimbostratus
Nimbostratus

Hi,

Could you help to get the https monitor set up using POST-username & password to check the availability of the app.

Here is the info to be sent:

Request Type – POST

Body Request – 

{

 "customerId": "123456",

 "itemId": "67894",

 "suppressError": "1"

}

UserId: username

password: p@ssword

 

Expected result will be pass.

Will appreciated if this could be sorted at the earliest. Thanks

-MK

1 REPLY 1

It will be same as how you build your normal https monitor with username & password, only the send string will differ,,,

POST  HTTP/1.1\r\nHost: www.company.com\r\nUser-Agent: BIG-IP Monitor\r\nAccept-Encoding: identity\r\nConnection: Close\r\nContent-Type: application/json\r\n\r\n{\n\"customerId\": \"123456\",\n\"itemId\": \"67894\",\n\"suppressError\": \"1\"\n}\n

Refer to the below codeshare, I use it often.

https://devcentral.f5.com/s/articles/convert-curl-command-to-big-ip-monitor-send-string