Skip to content

Commit 12080c6

Browse files
Merge pull request #78 from arambazamba:hotfix
vars-changed
2 parents a584368 + eb621d9 commit 12080c6

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

Demos/09-EventBasedSolutions/EventGrid/Demo-02/post-order.http

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
1-
@topicurl=foodevents-28791.westeurope-1.eventgrid.azure.net
2-
@topickey=xR9JDq+BGD+Pixo9eijVRjAPev1J9xOJgGr7qHHNiiw=
1+
@topicurl=https://foodevents-26956.westeurope-1.eventgrid.azure.net/api/events
2+
@topickey=YcRlNv3hXmvdRIYbcKz41Z5/s6YdAmMCy6qQVQYuYKU=
33

4-
POST https://{{topicurl}}//api/events HTTP/1.1
4+
POST {{topicurl}} HTTP/1.1
55
content-type: application/cloudevents+json; charset=utf-8
66
aeg-sas-key: {{topickey}}
77

88
{
99
"specversion":"1.0",
10-
"type":"foodapp.order.accepted",
10+
"type":"foodapp.order",
1111
"source":"foodapp",
1212
"id":"9785ca51-df85-48c8-9db9-3cf2b581978f",
1313
"time":"2022-04-01T12:00:00Z",
1414
"datacontenttype":"application/json",
1515
"data":{
16+
"id": "5c60fe1d-9851-47ca-aab9-622ca857ea29",
1617
"customerId": "7c5fe5c7-1b03-469b-8c71-13823d6a8049",
1718
"customerName": "John Doe",
1819
"address": "123 Main Street, Seattle, WA 98101",
20+
"status": "incoming",
1921
"items": [
2022
{
2123
"name": "butter chicken",
22-
"quantity": 1
24+
"quantity": 2
2325
},
2426
{
2527
"name": "badam kheer",
26-
"quantity": 2
28+
"quantity": 1
2729
}
2830
]
2931
}

0 commit comments

Comments
 (0)