Split POST and GET handlers.

So we do not get a redirect loop
Good spot