add api mock and fix the intend problem
update readme