However, the introduction of striker Andy Carroll at halftime revitalised West Ham, who turned the match on its head with goals from Robert Snodgrass -- his first in the league for the club -- and Javier Hernandez.
But the hosts had to hang on for their third successive win -- the first time they have done so since December 2016 -- with Jeffrey Schlupp getting Palace back in it with 14 minutes left.
West Ham climbed to 10th while Palace's woeful run of form leaves them 16th, two points above the relegation zone. (Reporting by Peter Hall; Editing by Ken Ferris)
(This story has not been edited by Devdiscourse staff and is auto-generated from a syndicated feed.)