provide restful api to store info