mirror of https://github.com/dapr/docs.git
Fix incorrect curl syntax in Actors API examples (#1577)
Co-authored-by: Aaron Crawfis <Aaron.Crawfis@microsoft.com>
This commit is contained in:
parent
5bee1dae16
commit
1042bc456b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue