From 1042bc456b073bd8239debbfab37e14f2ec5a922 Mon Sep 17 00:00:00 2001 From: greenie-msft <56556602+greenie-msft@users.noreply.github.com> Date: Fri, 18 Jun 2021 14:01:48 -0700 Subject: [PATCH] Fix incorrect curl syntax in Actors API examples (#1577) Co-authored-by: Aaron Crawfis --- daprdocs/content/en/reference/api/actors_api.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/daprdocs/content/en/reference/api/actors_api.md b/daprdocs/content/en/reference/api/actors_api.md index 522f65b3b..03b8080d2 100644 --- a/daprdocs/content/en/reference/api/actors_api.md +++ b/daprdocs/content/en/reference/api/actors_api.md @@ -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