write curl example