add check request body function