Hi,
I am calling the payloads via webhook to post data from marketo to our internal server. I tried using webhook but when using field token inside webhook payload and run that webhook it is giving error 500 says json is not correct.
can you please check the screenshot and error and help me what i am missing here?
Solved! Go to Solution.
Don't quote your tokens. By using JSON request encoding the tokens are already quoted
I am unable to call token value of first name in the webhook payload.
@SanfordWhiteman can you please help me into this.
Do not enclose tokens in quotes.
Adding the quotes (if the variable is a string) is part of JSON encoding. It is done for you in any language/framework that has a JSON encoder.