瀏覽代碼

[Doc] Typo in rest-api curl

monf 8 年之前
父節點
當前提交
208036a4d3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Docs/rest_api.md

+ 1 - 1
Docs/rest_api.md

@@ -141,7 +141,7 @@ Error response codes: unauthorized(401), itemNotFound(404)
 
 Curl command:
 ```
-curl -i --user admin:secret -H "Content-Type: application/json" -X POST -d '{"order":"my order"}' http://localhost:5000/order
+curl -i --user admin:secret -H "Content-Type: application/json" -X POST -d '{"order":"my order"}' http://localhost:5000/order/
 ```
 
 If the order contains accent or quotes, use a file for testing with curl