add curl examples
add curl examples
update doc