fix type, ex with extension
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
b39a32152f
commit
b12c6d75d4
|
@ -1,12 +1,12 @@
|
||||||
# Express Example
|
# Express Example
|
||||||
|
|
||||||
## To Start
|
## How To Start
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm start
|
npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
## To Post an Event
|
## How To Post an Event
|
||||||
|
|
||||||
__A Structured One__
|
__A Structured One__
|
||||||
|
|
||||||
|
@ -30,6 +30,22 @@ curl -X POST \
|
||||||
-H'ce-time:2019-06-21T17:31:00Z' \
|
-H'ce-time:2019-06-21T17:31:00Z' \
|
||||||
http://localhost:3000/
|
http://localhost:3000/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
__A Binary One with Extension__
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -X POST \
|
||||||
|
-d'@../payload/data-0.json' \
|
||||||
|
-H'Content-Type:application/json' \
|
||||||
|
-H'ce-specversion:0.2' \
|
||||||
|
-H'ce-type:com.github.pull.create' \
|
||||||
|
-H'ce-source:https://github.com/cloudevents/spec/pull/123' \
|
||||||
|
-H'ce-id:45c83279-c8a1-4db6-a703-b3768db93887' \
|
||||||
|
-H'ce-time:2019-06-21T17:31:00Z' \
|
||||||
|
-H'ce-my-extension:extension value' \
|
||||||
|
http://localhost:3000/
|
||||||
|
```
|
||||||
|
|
||||||
__A Batch One__
|
__A Batch One__
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|
Loading…
Reference in New Issue