Closed mdrichardson closed 4 years ago
The responses are controlled completely by HA and they respond with a status of 200 in all cases and currently can't be changed.
# Always respond successfully to not give away if a hook exists or not.
Thanks for the fast response!
Can I add this as a feature request? I'd be happy to contribute something like this in the future, but currently don't have time to learn two new codebases (hass and node-red).
This is something that would have to be added to HA for it work as you need.
If you expose NR to the outside world you can create HTTP endpoints and have full control over the responses they send.
The webhook node was implemented so you could have webhooks in NR without having to expose NR and route them through an exposed HA instance.
@zachowj Aha! I hadn't considered that. I'll go that route. Thanks!
I'm using the Node-RED webhooks to integrate HASS with DialogFlow/Google Assistant. I'd love a way to customize the Webhook Response to send DialogFlow additional information (it currently gets a generic 200 with no information, I believe).