Cut the Onions into thin slices. Mix the flour with salt, chilli powder, asafoetida, curry leaves and rice powder in approximately 3/4 cup of water. The dough should not be too thick nor too loose. Now put the onion pieces into the flour. The layers of the onion should not be separated. Heat oil in a pan. Put the onions dipped in the flour into the oil and deep fry. When it turns golden brown remove from the oil.