restful api 是一种书写风格
获取列表 get api/todo
获取指定 get api/todo/1
新增资料 post api/todo
更新资料 put api/todo/1
删除资料 delete api/todo/1