File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3
3
This directory contains advanced docs around the Functions Framework.
4
4
5
5
- [ Testing events and Pub/Sub] ( events.md )
6
+ - [ Testing CloudEvents] ( cloudevents.md )
6
7
- [ Testing Functions] ( testing-functions.md )
7
8
- [ Debugging Functions] ( debugging.md )
8
9
- [ Running and Deploying Docker Containers] ( docker.md )
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Add a `package.json` script to start the Functions Framework and pass the name o
34
34
``` sh
35
35
{
36
36
" scripts" : {
37
- " start" : " functions-framework --target=helloCloudEvents"
37
+ " start" : " functions-framework --target=helloCloudEvents --signature-type=cloudevent "
38
38
}
39
39
}
40
40
```
@@ -51,5 +51,5 @@ it is no longer accessible via `HTTP GET` requests from the browser.
51
51
### Create and Send a CloudEvent to the Function
52
52
53
53
```
54
- cloudevents send http://localhost:8080 --specver-- id abc-123 --source cloudevents.conformance.tool --type foo.bar
55
- ```
54
+ cloudevents send http://localhost:8080 --id abc-123 --source cloudevents.conformance.tool --type foo.bar
55
+ ```
You can’t perform that action at this time.
0 commit comments