Преглед изворни кода

[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