started writing parsed request to struct