I’m sure there are sophisticated solutions here, but I’m trying for something basic. I have created a basic html form on a page in my HA /www directory. The form action points to an HA webhook, as configured via an automation.
Everything works: I can point to the webpage, submit the form, and it properly triggers the webhook automation/action. What I can’t figure out is how to impact what the user sees in the browser window after submitting the form. If I use GET for the form method the user winds up on a blank webpage with the form action in the url. If I use POST for the form method the user stays on the same page with the original form but gets prompted to download a file (which is weird?)
Is there a way to define a “redirect” url that gets called after the webhook action gets called, so that I can send the user to someplace else after the action takes place?
Thanks!
jtf