U.S. Presidential candidate Hillary Clinton (D-NY) enters the 161st Street subway station in the Bronx, NY, on April 07, 2016, after campaigning with Bronx borough President Ruben Diaz Jr. 
Photo by Yana Paskova/The Washington Post/Getty

Clinton pokes fun at subway swipe fail as Mayor de Blasio raps

Hillary Clinton turned the tables (or the turnstile) on jabs directed at her for taking several attempts to swipe a “metrocard” at a New York City subway station earlier in the week by jokingly blaming the mayor for her struggles during a surprise appearance at a charity event Saturday night.

“Would you please fix these MetroCard slots in the Subway. It took me like five swipes,” Clinton said to a smiling Mayor Bill de Blasio during the Inner Circle Show, an annual comedic musical where local journalists roast local and national politicians — focusing heavily on New York’s mayor and governor.

“The little terminal thing kept saying, ‘please swipe again,’” Clinton joked.

The minor gaffe, made Thursday while Clinton was campaigning in New York, was called out by the New York Post and later spoofed on Saturday Night Live.

Clinton, who said she had last rode the subway about two years ago, boasted before her five-swipe-spree that she is more experienced with New York’s transit system than rival Bernie Sanders who had revealed in an interview with the New York Daily News that he thought the Subway fare was still paid in token form.

4/7/16, 10:38 AM ET

Just an average commuter: Clinton rides NYC subway

Democratic presidential candidate Hillary Clinton rides a New York City subway in the Bronx on Thursday.

Clinton was invited to the stage Saturday night by de Blasio who was honoring the tradition of putting on a rebuttal skit during Inner Circle, which this year largely made fun of the perceived rivalry between de Blasio and Andrew Cuomo in “Shamilton,” a play off the hit Broadway show “Hamilton.”

The mayor, in the spirit of “Hamilton,” performed a rap in his portion of the performance, dropping the line, “My left-wing cred is epic, it’s Biblical. You get one guess who’s the most liberal. I make Bernie Sanders look like Trump. I’m down with Sandinistas and The Donald’s a chump.”

Introducing Clinton, de Blasio rapped, “So I come blazing, with heavy artillery, for the Queen of the Democrats, my homegirl Hillary.”

Clinton then quipped to de Blasio: “Thanks for the endorsement, Bill. Took you long enough.”

While Clinton did finally get de Blasio’s endorsement, she shouldn’t hold her breath on her request about the finicky NYC subway turnstiles, which are within the purview of the state, not the city.

This story first appeared on NBCNews.com.

Bill de Blasio and Hillary Clinton

Clinton pokes fun at subway swipe fail as Mayor de Blasio raps