Place the chocolate in a small heatproof bowl and set in a wide pan or skillet of hot water. Set aside for 5 minutes, stirring 4 to 5 times, and let it melt completely. Stir until smooth. In a medium bowl, whisk the flour, cocoa, baking powder, and salt until well blended. Set aside.