Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This directory contains advanced docs around the Functions Framework.

- [Testing events and Pub/Sub](events.md)
- [Testing CloudEvents](cloudevents.md)
- [Testing Functions](testing-functions.md)
- [Debugging Functions](debugging.md)
- [Running and Deploying Docker Containers](docker.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/cloudevents.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Add a `package.json` script to start the Functions Framework and pass the name o
```sh
{
"scripts": {
"start": "functions-framework --target=helloCloudEvents"
"start": "functions-framework --target=helloCloudEvents --signature-type=cloudevent"
}
}
```
Expand All @@ -51,5 +51,5 @@ it is no longer accessible via `HTTP GET` requests from the browser.
### Create and Send a CloudEvent to the Function

```
cloudevents send http://localhost:8080 --specver--id abc-123 --source cloudevents.conformance.tool --type foo.bar
```
cloudevents send http://localhost:8080 --id abc-123 --source cloudevents.conformance.tool --type foo.bar
```