mirror of https://github.com/dapr/docs.git
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:
parent
f3833ab291
commit
875264ba36
|
|
@ -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:
|
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>
|
As seen above, we invoked the `/binding` endpoint with the name of the binding to invoke, in our case its `myEvent`.<br>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue