这次请求成功了吗
看
增
改
删
用 curl 读一条任务,只看状态码:
输出的这个数字是多少?
$ curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:8000/tasks/2
200
看
增
改
删
用 curl 读一条任务,只看状态码:
输出的这个数字是多少?
$ curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:8000/tasks/2
200
全部评论