correct ws url and payload