parse request