diff options
| author | alex <[email protected]> | 2026-07-15 20:24:31 +0200 |
|---|---|---|
| committer | alex <[email protected]> | 2026-07-15 20:24:31 +0200 |
| commit | 8e12cb9bb66adc7adaf6d276133d6f235d294d23 (patch) | |
| tree | 31aa3f6a06407b39bb23d7cc724c70899795a788 /posting/.order-service | |
| download | order-inventory-system-8e12cb9bb66adc7adaf6d276133d6f235d294d23.tar.xz order-inventory-system-8e12cb9bb66adc7adaf6d276133d6f235d294d23.zip | |
init
Diffstat (limited to 'posting/.order-service')
| -rw-r--r-- | posting/.order-service/orders-post.posting.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
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 |
