Explorar o código

[Doc] Typo in rest-api curl

monf %!s(int64=8) %!d(string=hai) anos
pai
achega
208036a4d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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