Forum Discussion
j_angelevski
5 years agoContributor III
You need to enable the expression field if you want to use json inside the http entity setting. ( Just click on the = sign ). If you don’t enable the expression, then everything inside this property will evaluate to a string, which is why the error is telling you that you provided incorrect JSON.
aemery
5 years agoNew Contributor
ok, that got me further, however the service returns a text/plain object so now Snaplogic gives an error saying it is expecting JSON. I set the following so that it would accept any object -
Accept = */*
Edit: the asteriks were removed from the post
- aemery5 years agoNew Contributor
Ok I figured it out -
I changed this setting from default to text -