check the request