Updated the CURL example for Posting a device event