From 8e12cb9bb66adc7adaf6d276133d6f235d294d23 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 15 Jul 2026 20:24:31 +0200 Subject: init --- posting/.order-service/orders-post.posting.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 posting/.order-service/orders-post.posting.yaml (limited to 'posting/.order-service') diff --git a/posting/.order-service/orders-post.posting.yaml b/posting/.order-service/orders-post.posting.yaml new file mode 100644 index 0000000..1249fe3 --- /dev/null +++ b/posting/.order-service/orders-post.posting.yaml @@ -0,0 +1,24 @@ +name: orders-post +method: POST +url: http://127.0.0.1:8000/api/v1/orders/ +body: + content: |- + { + "customer_id": 42, + "items": [ + { + "product_id": 101, + "quantity": 2, + "price": 299.99 + }, + { + "product_id": 102, + "quantity": 1, + "price": 49.50 + } + ] + } + content_type: application/json +headers: +- name: Content-Type + value: application/json -- cgit v1.2.3