Re: Can i normalize the tokens in a webhook request before sending them?

Anonymous
Not applicable

Can i normalize the tokens in a webhook request before sending them?

Hi,
i am using webhhoks.
Inside the Payload Template i am using tokens which can have values with ampersand (&) in them, such as Company Name.
However, since all the requests are sent with type www-form-urlencoded - the & causes problems when parsing the
request.
Is there a way to normalize the & before sending the request?

thanks
Tags (1)
3 REPLIES 3
Anonymous
Not applicable

Re: Can i normalize the tokens in a webhook request before sending them?

No, the encoding/unencoding would have to happen in the receiing service.
Anonymous
Not applicable

Re: Can i normalize the tokens in a webhook request before sending them?

Hi there,

there should be a drop down in the Webhook configuration that lets you select the type of "Request Token Encoding:" encoding. Looks like it should be Set to "Form/Url" in your case.

regards,
DJ
Anonymous
Not applicable

Re: Can i normalize the tokens in a webhook request before sending them?

Heh- thanks DJ. Learn something new every day- and now I can stop writing encoding manipulation in my webhook scripts.