Corrected the CURL example to POST a device event