change data from client to server(rest)