MIAMI (AP) - Dexter Fowler hit a pinch-hit, go-ahead triple and the St. Louis Cardinals overcame a four-run deficit for the second game in a row, rallying past Miami 7-5 on Wednesday night to complete a trip that by one measure ranked as the franchise's best ever.

The Cardinals went 6-0 on their swing through Atlanta and Miami. It's the first time they've gone undefeated on a trip of at least six games in their 126-year history, the team said, citing information from Elias.

Lance Lynn gave up four runs in the first inning on homers by Christian Yelich and Justin Bour, but for the second consecutive game, Fowler came off the bench to give the Cardinals the lead. His two-run triple in the sixth put them ahead to stay, 5-4.

Fowler, out of the starting lineup for the past six games because of a sore lat, drove in the winning run in the ninth inning Tuesday after St. Louis rallied from a 5-1 eighth-inning deficit.