Dynamic path for webhook node

Hello !
I want to implement a dynamic Websocket endpoint , like using a variable inside the path /ws/simple/ID where the ID is dynamic , how can I implement this ? or is there's any other solutions ?

IMG-20210609-WA0000

Right now at least, I don't believe you can. I also think that it is probably quite hard to do. In order to achieve that without restarting Node-RED, you have to tear down the existing connection and then stand up a new one.

Not actually certain that would be what you really wanted anyway. It would not, for example, provide you with any real security. And it is easy enough to put the dynamic data into the msg and then route using that msg property.

1 Like

Thank you !
I will have to find another solution.