From bdb35535685797185cfac41175fe923b2d79415c Mon Sep 17 00:00:00 2001 From: mEstrazulas Date: Thu, 17 Mar 2022 14:25:48 +0000 Subject: [PATCH] Update readme.md fix structured sample Signed-off-by: Micael Vianna Signed-off-by: Micael Estrazulas Vianna --- examples/spring-function/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/spring-function/README.md b/examples/spring-function/README.md index 0d64449b5..8dd2a1875 100644 --- a/examples/spring-function/README.md +++ b/examples/spring-function/README.md @@ -29,9 +29,9 @@ It also accepts data in "structured" format: ```shell curl -v -H'Content-type: application/cloudevents+json' \ -d '{"data": {"value": "Foo"}, - "id: 1, - "source": "cloud-event-example" - "type": "my.application.Foo" + "id": "1", + "source": "cloud-event-example", + "type": "my.application.Foo", "specversion": "1.0"}' \ http://localhost:8080/event ```