fix up cli/curl example code