LINUX SHELL CURL传JSON
curl -i -X POST -H 'Content-type':'application/json' -d '{"id": "aaa", "info": "bbb"}' http://127.0.0.1:5000/add_task/
参数必须用单引号括起来
LINUX SHELL CURL传JSON
curl -i -X POST -H 'Content-type':'application/json' -d '{"id": "aaa", "info": "bbb"}' http://127.0.0.1:5000/add_task/
参数必须用单引号括起来