Make sure that $_SERVER['REQUEST_METHOD'] asset.