action tag in form solved the error

I was getting POST NOT ALLOWED , action tag in the form solve the error