Marvin Johnson opened the scoring for Neil Warnock’s side before goals from Carel Eiting and Fraizer Campbell put the hosts 2-1 up.
Boro looked like they would take a point when Britt Assombalonga converted a late penalty but there was still time for Josh Koroma to score a winner.
Our Middlesbrough writer Joe Nicholson has dished out his marks following the match – scroll down and flick through the pages of our picture gallery to see them:

9. Marvin Johnson - 7
Boro’s brightest player going forward and opened the scoring with a composed finish. 7 Photo: George Wood

10. Marcus Tavernier - 6
Made a bright start and assisted Johnson’s opener. Faded in the second half and was substituted. 6 Photo: Getty Images

11. Britt Assombalonga - 6
Missed a sitter in the first half. Scored a late penalty but was frustrated for most of the match. 6 Photo: Alex Pantling

12. Chuba Akpom - 5
(for Tavernier, 66) Struggled to make an impact after coming on. 5 Photo: Getty Images

