Change delete example to use curl