Hernandez leveled in the 29th when he appeared to use his hand to jab the ball in at the fast post following a corner. Referee Lee Mason and his assistants missed the offense, which should be spotted by video assistant referees when they come to the Premier League next season.
West Ham took the lead in the 40th minute when center back Issa Diop headed in another corner. Michail Antonio made certain of the win in stoppage time at the end of the game after he was set up by Marko Arnautovic.
Manuel Pellegrini's West Ham is ninth in the standings, while Claudio Ranieri's Fulham is eight points from safety with 11 games remaining. "Time is running out but we never give up," said Ranieri.
More AP soccer: https://apnews.com/apf-Soccer and https://twitter.com/AP_Sports