All Apps and Add-ons

WebTools - Error "Invalid JSON payload"

New Member

Good Afternoon, 

Running a super basic test to validate i can send a POST to our Ansible Tower Listener.


| 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:
{'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. 

Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

2024 Splunk Career Impact Survey | Earn a $20 gift card for participating!

Hear ye, hear ye! The time has come again for Splunk's annual Career Impact Survey!  We need your help by ...

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...