changing to render if asked even if it isn't a GET request