-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for form submissions #780
Conversation
@fool correct if I'm wrong but you weren't looking for actual submissions here, just a successful response and trigger the form submission triggered function if it exists. The form submission itself would not be retained. Sound about right? |
yes, that was indeed my thinking, @erquhart |
@fool Do you have any advice on where to look for sample |
I don't have good examples of the payloads, aside from what is in the public doc: https://docs.netlify.com/functions/trigger-on-events/#payload |
Would be good to get a "dump the input" function example spun up. I bet @depadiernos could write one in about 5 minutes, but it's not something I can just toss out since I'm no javascript pro |
- Summary
Add support for form submissions.
Fixes: #447
- Test plan
netlify dev
- Description for the changelog
Transform the body of POST requests with Form data to match a
submission-created
event in Production.- A picture of a cute animal (not mandatory but encouraged)
🐰