Convert curl command to BIG-IP Monitor Send String
Hi I tried this but health monitoring is showing down, Logs says its a malformed request
this is my curl command which works as expected:
curl -X POST -H 'content-type: application/json' -H 'host: host.domain.com' -d '{"queryParam":"cleaning","start":"0","rows":"20","searchType":["ALL"],"facetSelection":["SC:catalogs"],"userRoles":[""]}'
here is the equivalent send string created using the script which is not working:
POST /globalSearch/basicSearch HTTP/1.1\r\ncontent-type: application/json\r\nhost: host.domain.com\r\n\r\n{\“queryParam\“:\“cleaning\“,\“start\“:\“0\“,\“rows\“:\“20\“,\“searchType\“:[\“ALL\“],\“facetSelection\“:[\“SC:catalogs\“],\“userRoles\“:[\“\”]}
Can anyone find out what the issue is?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)