Add curl example - generate C code by curl