diff --git a/cmd/websrv/main.go b/cmd/websrv/main.go index cc5c3b8..773e067 100644 --- a/cmd/websrv/main.go +++ b/cmd/websrv/main.go @@ -31,7 +31,7 @@ const ( curl -X POST localhost:8080/api/products -d '{ "products": { "A6053": 2, "B3009": 1200 }, "context": { "country": "EU", "state": "" } }' Reservierung reservieren - curl -X POST localhost:8080/api/products/reserve -d '{"id":"ab0d7184-a4ce-4802-897a-d8597335143a"}' + curl -X POST localhost:8080/api/products/reserve -d '{ "products": { "A6053": 2, "B3009": 1200 }, "context": { "country": "EU", "state": "" } }' Reservierung bestätigen curl -X POST localhost:8080/api/products/confirm -d '{"id":"ab0d7184-a4ce-4802-897a-d8597335143a"}'