Preheat the oven to 175℃.
Line a square tin 8" X 8" with parchment paper. Or grease it lightly with oil or butter and dust it with flour.
Sift flour, salt, baking powder, baking soda and pumpkin pie spice in a mixing bowl.
In another mixing bowl add the eggs, pumpkin puree, oil, vanilla extract and sugar.
Whisk it to mix well.
Add the flour mixture and fold gently till it becomes wet.
Pour the batter into the prepared tin.
Level it out with a spatula.
Bake for 25-30 minutes or until done.
When you insert a toothpick in the middle it should come out almost clean. Doesn't matter if a few crumbs get stuck to it.
Remove the cake from the oven and allow it to cool in the tin for 5-10 minutes.
Then transfer the cake to a wire rack. Peel off the parchment paper.
Allow the cake to cool down completely before adding the frosting.