Buckle up, Knicks fans.

New York is one game behind Atlanta for the eighth and final playoff spot in the Eastern Conference with eight games to go.

The Knicks find themselves in this position thanks to a gutsy road win in Oakland on Sunday.

Carmelo Anthony scored four crucial points in the final 90 seconds, and the Knicks' defense came up with several key stops in the closing minutes to seal the win.

Give New York credit for bouncing back from one of its worst games of the season -- a brutal loss on Friday in Phoenix -- with a strong performance against a tough Golden State team.

The Knicks' defense held the Warriors to 35 percent shooting overall. Golden State missed 21 of its 31 3-point attempts. Without David Lee and Andrew Bogut (both bigs were out due to injury), the Knicks were able to outscore Golden State in the paint, 34-24.

Strong finish: Amar'e Stoudemire finished with 15 points and 13 rebounds, and scored four big points in the fourth quarter as Golden State trimmed the Knicks' lead as New York missed 13 of its first 15 shots in the fourth. Stoudemire gave the Knicks a two-point lead with two big free throws with two minutes to play.

Anthony finished with 19 points on 7-for-21 shooting and was limited by foul trouble in the first half. But he came through when it counted, hitting a big jumper with 1:25 to play to put the Knicks up four. Anthony, who was 0-for-6 from the field in the fourth to that point, hit two free throws to put the Knicks up five.

The Knicks were up three with five seconds to play and came up with a big steal on the Warriors' final play.

Give Raymond Felton and Shannon Brown credit for strong defense on the final play.

Iron unkind: Golden Sate went 4-for-23 after their 4-for-5 start but got big 3-ointers late from Stephen Curry and Klay Thompson.

Curry had 32 points and hit 6-for-12 from beyond the arc, but Thompson finished 3-for-11 from 3.

Curry passed up a 3-point attempt on the Warriors last possession of the game thanks to harrassment from Felton.

Super second: The Knicks bounced back from a brutal start with some hot shooting in the second quarter.

They outscored Golden State, 34-12, in the second and finished the quarter on a 15-0 run. And the Knicks did all of that with Carmelo Anthony on the bench with foul trouble.

J.R. Smith led the way and finished with 19 points on 8-for-11 shooting in the half. He had a team-high 21. Tim Hardaway Jr. added 15.

What's next: The Knicks will take on the Utah Jazz in the final game of their West Coast trip. They are two back of Atlanta in the loss column. Atlanta plays Philadelphia on Monday.

You can follow Ian Begley on Twitter.