说明:./employee-api.py
curl -i
curl -i
curl -i -H“内容类型:应用程序/ json” -X POST -d'{“ name”:“ Dan”}'
curl -i -H“ Content-Type:application / json” -X PUT -d'{“ title”:“ tester”,“ active”:true}'
curl -i -X删除
码头工人:
泊坞窗图像构建-t flask-rest。
泊坞运行-p 5001:500
<weixin_42173205> 上传 | 大小:3kb