validate request