URLEncoded Form Data
Webhook Relay automatically parses url encoded form data if Content-Type: application/x-www-form-urlencoded
Webhook Relay detects application/x-www-form-urlencoded requests and automatically parses them so your function can use it. Parsed form data can be accessed through r.RequestFormData
variable. For example if the payload looks like this:
Then you can access the form elements and use them to create a new payload:
This would transform the webhook into:
Nested forms
If your form contains nested fields such as &campaign%5Bid%5D=98
you can access them directly as well:
Last updated