In your examples, jquery_server.js, is listening to post requests on /log and your jquery_example.html is sending the post request with a parameter.
The switch case is failing because it is listening to /log only and the request it gets is /log?client_id=xxxxxx Took a while to catch it.
In your examples, jquery_server.js, is listening to post requests on /log and your jquery_example.html is sending the post request with a parameter.
The switch case is failing because it is listening to /log only and the request it gets is /log?client_id=xxxxxx Took a while to catch it.