Convert curl command to BIG-IP Monitor Send String
Problem this snippet solves:
Convert curl commands into a HTTP or HTTPS monitor Send String.
How to use this snippet:
Save this code into a Python script and run as a replacement for curl.
Re...
Updated Jun 06, 2023
Version 3.0Eric_Chen
Employee
Joined May 16, 2013
Eric_Chen
May 03, 2018Employee
I wonder whether your web server is expecting a content-length. Try
POST /globalSearch/basicSearch HTTP/1.1\r\ncontent-type: application/json\r\nhost: host.domain.com\r\nContent-Length: 120\r\n\r\n{\“queryParam\“:\“cleaning\“,\“start\“:\“0\“,\“rows\“:\“20\“,\“searchType\“:[\“ALL\“],\“facetSelection\“:[\“SC:catalogs\“],\“userRoles\“:[\“\”]}