Drain and rinse the soaked urad dal and chana dal.
In a food processor, blend the lentils into a smooth paste. If needed, add a small amount of water to facilitate blending. The consistency should be thick and not too watery.
Transfer the lentil paste to a large mixing bowl.
Add the finely chopped onion, minced garlic, grated ginger, chopped green chilies, ground cumin, ground coriander, ground turmeric, ground black pepper, salt, and baking powder. Mix well to combine.
Stir in the chopped cilantro and spinach or fenugreek leaves (if using).
In a deep skillet or frying pan, heat about 2 inches of vegetable oil over medium-high heat until it reaches 350°F (175°C).
With wet hands, take small portions of the lentil batter and shape them into small, round patties or balls.
Carefully place the patties into the hot oil, frying them in batches to avoid overcrowding the pan.
Fry the bara for about 3-4 minutes on each side, or until they are golden brown and crispy.
Use a slotted spoon to remove the fritters from the oil and drain them on paper towels.
Enjoy your meal!