Fix incorrect curl syntax in Actors API examples (#1577)

Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
This commit is contained in:
greenie-msft 2021-06-18 14:01:48 -07:00 committed by GitHub
parent 5bee1dae16
commit 1042bc456b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -311,8 +311,8 @@ name | The name of the reminder to delete.
#### Examples
```shell
curl http://localhost:3500/v1.0/actors/stormtrooper/50/reminders/checkRebels \
-X "Content-Type: application/json"
curl -X DELETE http://localhost:3500/v1.0/actors/stormtrooper/50/reminders/checkRebels \
-H "Content-Type: application/json"
```
### Create actor timer
@ -404,8 +404,8 @@ name | The name of the timer to delete.
> Note, all URL parameters are case-sensitive.
```shell
curl http://localhost:3500/v1.0/actors/stormtrooper/50/timers/checkRebels \
-X "Content-Type: application/json"
curl -X DELETE http://localhost:3500/v1.0/actors/stormtrooper/50/timers/checkRebels \
-H "Content-Type: application/json"
```
## Dapr calling to user service code