提交 6893458b 编写于 作者: M MRXLT

fix readme

上级 47c5b837
...@@ -166,7 +166,7 @@ python image_classification_service_demo.py resnet50_serving_model ...@@ -166,7 +166,7 @@ python image_classification_service_demo.py resnet50_serving_model
<p> <p>
``` shell ``` shell
curl -H "Content-Type:application/json" -X POST -d '{"url": "https://paddle-serving.bj.bcebos.com/imagenet-example/daisy.jpg", "fetch": ["score"]}' http://127.0.0.1:9292/image/prediction curl -H "Content-Type:application/json" -X POST -d '{"feed":[{"url": "https://paddle-serving.bj.bcebos.com/imagenet-example/daisy.jpg"}], "fetch": ["score"]}' http://127.0.0.1:9292/image/prediction
``` ```
- **Request result**: - **Request result**:
``` shell ``` shell
......
...@@ -171,7 +171,7 @@ python image_classification_service_demo.py resnet50_serving_model ...@@ -171,7 +171,7 @@ python image_classification_service_demo.py resnet50_serving_model
<p> <p>
``` shell ``` shell
curl -H "Content-Type:application/json" -X POST -d '{"url": "https://paddle-serving.bj.bcebos.com/imagenet-example/daisy.jpg", "fetch": ["score"]}' http://127.0.0.1:9292/image/prediction curl -H "Content-Type:application/json" -X POST -d '{"feed":[{"url": "https://paddle-serving.bj.bcebos.com/imagenet-example/daisy.jpg"}], "fetch": ["score"]}' http://127.0.0.1:9292/image/prediction
``` ```
- **返回结果示例**: - **返回结果示例**:
``` shell ``` shell
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册