Corrected redirect in example, used request for getting post instead of global