Added POST redirection functions