City's trip to leagueless Barry Town United ended in a five goal match that Cardiff won thanks to Rhys Healy's 2nd half header.
Cardiff had led through Kadeem Harris before Barry scored twice before half time.
Etien Velikonja levelled before Healy's winner. Barry thought they'd earned a draw but their effort was ruled out for offside.
It's a second win for the Development side in their pre season campaign.
Barry Town United are facing a battle to just survive. Please support in any way you can.
http://www.clubwebsite.co.uk/barrytownsc
Photos from Jon Candy
http://www.flickr.com/photos/joncandy/sets/72157634819607492/show