Take 2 tablespoons of fine semolina in a bowl. Add a little water to soak it, mix, and set it aside to let it puff up.
In the same bowl, add the finely chopped onions and chopped coriander leaves.
Add the ginger-garlic-green chilli paste, coarsely crushed coriander seeds, carom seeds (crushed between your palms), and lightly crushed cumin seeds.
Add the rice flour, gram flour, turmeric powder, asafoetida powder, and salt to taste.
Mix all the ingredients well without adding any extra water initially. The mixture will be thick.
For softer pakoras, add a tiny pinch of baking soda and a very small amount of water on top of the soda. Mix well until the batter is neither too thin nor too thick.