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.
This commit is contained in:
Jocko 2019-11-11 13:51:03 -07:00 committed by Yaron Schneider
parent f3833ab291
commit 875264ba36
1 changed files with 1 additions and 1 deletions

View File

@ -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`.<br>