Grate the zucchini into a bowl using the large side of a box grater. Immediately stir in the onion and eggs. Stir in 6 tablespoons of the flour, the baking powder, salt and pepper. (If the batter gets too thin from the liquid in the zucchini, add the remaining 2 tablespoons of flour.)
2 medium zucchini, grated, 2 tablespoons grated sweet onion, 2 large eggs, slightly beaten, 6 to 8 tablespoons flour, 1 teaspoon baking powder, 1 teaspoon salt, ½ teaspoon freshly ground black pepper