Handle POST data for the viewer route redirection.