added full curl example