Good Afternoon,
Running a super basic test to validate i can send a POST to our Ansible Tower Listener.
Search:
| makeresults
| eval header="{\"content-type\":\"application/json\"}"
| eval data="{\"Message\": \"This is a test\"}"
| eval id="http://Somehost:someport/"
| curl method=post urifield=id headerfield=header datafield=data debug=true
The same payload in Postman works 100%
what i have noticed is that its converting the double quotes to single:
curl_data_payload:
{'monitor_state': 'unmonitored'}
When i test this payload in Post man it also fails with the same message invalid JSON payload.
Has Anyone had this issue? knows how to address it... I have no hair left to rip out.