Heat cooking oil, saute all the whole spices and add to the batter. Add finely chopped onions and green chilies as such.
Heat a tawa and grease with cooking oil. Spread out one ladleful of batter as the regular dosa. Simmer, cover with a lid, and don't flip over.
Serve with Chutney and Sambar.