Преглед на файлове

[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