flask-http-demo 用于 演示最基本 HTTP 与 REST 的项目 安装依赖 pip install -r requirements.txt 运行 python server.py 启动服务器 python client.py 使用 requests 访问服务器 注意 为了更清晰的演示,有一些细节就没注意,比如 GET 一个不存在 id,比如 POST 奇怪的数据,这些因为没有额外处理会出问题