This looks like doing it the http GET method way. Is there also a POST method way available to pass arguments to a NGClient at startup? I am asking because a common belief is that GET requests should never be used when dealing with sensitive data.
I couldn’t find a POST method way of startup in the docu, but may have missed it.
no this is currently not really possible.
We could first fix that you could post to that specific url (that request just returns a index.html file) but then there is a problem that the WebSocket instance that we then create also gets that url query params in it.
So the wss:/xxxx?x=y is also then going over the line, and that can’t be done in a post… (there is no control over that thats just plain websocket implementation of the browser)
We could potentially change that again but that would mean quite some changes on our end and that the solution is always loaded a bit later (there has to be a fully websocket connect first and then another message has to send over after that we can start the client, so there is an extra latency added)
Thanks for your reply. In the meantime, we solved the described requirement by using a web service. This seems to be a better solution.
We do use the argument passing in the URL like a=1 as well.