From 875264ba36327605b325264efa6fbec652655686 Mon Sep 17 00:00:00 2001 From: Jocko <46796644+jocko-wowza@users.noreply.github.com> Date: Mon, 11 Nov 2019 13:51:03 -0700 Subject: [PATCH] Fixed CURL example JSON data. (#242) The JSON data in the curl example was not properly formatted so was generating an error when it was copied/pasted. --- howto/send-events-with-output-bindings/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/howto/send-events-with-output-bindings/README.md b/howto/send-events-with-output-bindings/README.md index b79bc54da..04a94f06a 100644 --- a/howto/send-events-with-output-bindings/README.md +++ b/howto/send-events-with-output-bindings/README.md @@ -37,7 +37,7 @@ All that's left now is to invoke the bindings endpoint on a running Dapr instanc We can do so using HTTP: ``` -curl -X POST -H http://localhost:3500/v1.0/bindings/myEvent -d '{ data: { "message": "Hi!" } }' +curl -X POST -H http://localhost:3500/v1.0/bindings/myEvent -d '{ "data": { "message": "Hi!" } }' ``` As seen above, we invoked the `/binding` endpoint with the name of the binding to invoke, in our case its `myEvent`.