File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 33This directory contains advanced docs around the Functions Framework.
44
55- [ Testing events and Pub/Sub] ( events.md )
6+ - [ Testing CloudEvents] ( cloudevents.md )
67- [ Testing Functions] ( testing-functions.md )
78- [ Debugging Functions] ( debugging.md )
89- [ 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
3434``` sh
3535{
3636 " scripts" : {
37- " start" : " functions-framework --target=helloCloudEvents"
37+ " start" : " functions-framework --target=helloCloudEvents --signature-type=cloudevent "
3838 }
3939}
4040```
@@ -51,5 +51,5 @@ it is no longer accessible via `HTTP GET` requests from the browser.
5151### Create and Send a CloudEvent to the Function
5252
5353```
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