2. Make the Cake Batter
In a medium bowl, sift together the flour, cocoa powder, salt, baking soda, and baking powder.
Combine the sugar, buttermilk, oil, eggs, and vanilla in the bowl of a stand mixer with the paddle attachment. Mix on low speed until combined, about 30 seconds.
Add the flour mixture to the batter. Mix on low speed until combined, about 30 seconds. Scrape down the sides of the bowl. Pour in the coffee. Mix on low speed until combined, about 30 seconds.