change http request in ws