Skip to main content
June 12, 2013
Question

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

  • June 12, 2013
  • 3 replies
  • 1086 views
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
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

June 17, 2013
No, the encoding/unencoding would have to happen in the receiing service.
June 17, 2013
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
June 17, 2013
Heh- thanks DJ. Learn something new every day- and now I can stop writing encoding manipulation in my webhook scripts.