Forum Discussion
Https monitor- POST
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
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
Recent Discussions
Related Content
* 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