Skip to content

Commit f1a86af

Browse files
authored
Fix curl command for Spring example (#478)
Signed-off-by: Averi Kitsch <[email protected]>
1 parent 354f7a1 commit f1a86af

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/restful-ws-spring-boot/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ mvn spring-boot:run
1111
You can try sending a request using `curl`:
1212

1313
```shell
14-
curl -X POST -v -d '{"username": "slinkydeveloper", "firstName": "Francesco", "lastName": "Guardiani", "age": 23}' \ ~
15-
-H'Content-type: application/json' \
16-
-H'Ce-id: 1' \
17-
-H'Ce-source: cloud-event-example' \
18-
-H'Ce-type: happybirthday.myapplication' \
19-
-H'Ce-specversion: 1.0' \
14+
curl -X POST -v -d '{"username": "slinkydeveloper", "firstName": "Francesco", "lastName": "Guardiani", "age": 23}' \
15+
-H 'Content-type: application/json' \
16+
-H 'Ce-id: 1' \
17+
-H 'Ce-source: cloud-event-example' \
18+
-H 'Ce-type: happybirthday.myapplication' \
19+
-H 'Ce-specversion: 1.0' \
2020
http://localhost:8080/happy_birthday
2121
```

0 commit comments

Comments
 (0)