Wash and soak the rice overnight.
Take a blender add drained rice, grated coconut, shallots, cumin seeds and fennel seeds.
Pour ½ to ¾ cup of water and grind it to make a coarse paste.
In a wide-mouthed pan add the ground rice mixture.
Add salt as required and little by little rice flour and knead well until it comes together and there are no lumps.
Just make the dough firm enough so that you can make a softball and fry it in oil. The dough should not be too hard.
Take a banana leaf or plastic sheet and apply some oil. Then smear the fingers and palm with oil or with rice flour to avoid the dough sticking to the hand and make small lemon sized balls of the dough.
Using the pressure of the palms flatten slightly.
Place a kadai on high-medium flame. When it is hot, slide the pressed pathiri into the hot oil. You can see bubbles on top of the pathiri and after sometime if properly done it will float on top and puff up. If it doesn't puff up, just slowly tap the pathiri at the edges with the spoon until it puffs up.
As soon as it puffs up, flip it over and fry both sides until light golden color and crispy. Keep aside.