Updated curl example