Put the beans and rice in a blender or food processor.
Add the chillies and 2-3 tablespoons water and process to a thick coarse batter.
Stir in the onions, coriander leaves and curry leaves and season with salt.
Heat enough oil for deep-frying in a kadai or deep frying pan (skillet) to 180 degree C / 350 degree F, or until a cube of bread browns in 30 seconds.
Then reduce the heat.
Working in batches, carefully drop spoonfuls of the batter into the hot oil.
Deep-fry the fritters, turning frequently for about 5 minutes, or until golden brown and crisp.
Remove with a slotted spoon.
Drain on kitchen paper (paper towels).