Skip to content

Commit c7341ba

Browse files
committed
Example for structured with extension
Signed-off-by: Fabio José <[email protected]>
1 parent 1497934 commit c7341ba

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

examples/express-ex/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,26 @@ npm start
1010

1111
__A Structured One__
1212

13+
> Payload [example](../payload/v02/structured-event-0.json)
14+
1315
```bash
1416
curl -X POST \
1517
-d'@../payload/v02/structured-event-0.json' \
1618
-H'Content-Type:application/cloudevents+json' \
1719
http://localhost:3000/
1820
```
1921

22+
__A Structured One with Extension__
23+
24+
> Payload [example](../payload/v02/structured-event-1.json)
25+
26+
```bash
27+
curl -X POST \
28+
-d'@../payload/v02/structured-event-1.json' \
29+
-H'Content-Type:application/cloudevents+json' \
30+
http://localhost:3000/
31+
```
32+
2033
__A Binary One__
2134

2235
```bash

0 commit comments

Comments
 (0)