simple rest api
Merge pull request #1 from hxtpoe/rest

simple rest api