Add rest api curl examples to README