Update daprdocs/content/en/reference/components-reference/supported-bindings/cron.md

Co-authored-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
This commit is contained in:
Hao Wu 2021-10-30 10:32:39 +08:00 committed by GitHub
parent 22ea0b39d2
commit 17c16df9dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ For ease of use, the Dapr cron binding also supports few shortcuts:
## Listen to the cron binding
After setting up the cron binding, all you need to do is listen on an endpoint that matches the name of your component. Assume the <NAME> is `scheduled`. Note that this will be made as a HTTP `POST` request. The below example shows how a simple Node.js Express application can receive calls on the `/scheduled` endpoint and write a message to the console.
After setting up the cron binding, all you need to do is listen on an endpoint that matches the name of your component. Assume the <NAME> is `scheduled`. This will be made as a HTTP `POST` request. The below example shows how a simple Node.js Express application can receive calls on the `/scheduled` endpoint and write a message to the console.
```js
app.post('/scheduled', async function(req, res){