Updated the text for get-started-api documentation (#4055)

* Updated the text for get-started-api
Signed-off-by: Anindita Das <dasanuiit@gmail.com>

Signed-off-by: Anindita Das <dasanuiit@gmail.com>

* Update daprdocs/content/en/getting-started/get-started-api.md

Signed-off-by: Mark Fussell <markfussell@gmail.com>

---------

Signed-off-by: Anindita Das <dasanuiit@gmail.com>
Signed-off-by: Mark Fussell <markfussell@gmail.com>
Co-authored-by: Anindita Das <anindita.das@ibm.com>
Co-authored-by: Mark Fussell <markfussell@gmail.com>
Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
This commit is contained in:
Anindita Das 2024-03-04 10:12:10 -05:00 committed by GitHub
parent d4961b3a1d
commit 4097388055
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 3 deletions

View File

@ -3,10 +3,11 @@ type: docs
title: "Use the Dapr API"
linkTitle: "Use the Dapr API"
weight: 30
description: "Run a Dapr sidecar and try out the state API"
description: "Run a Dapr sidecar and try out the state management API"
---
In this guide, you'll simulate an application by running the sidecar and calling the API directly. After running Dapr using the Dapr CLI, you'll:
In this guide, you'll simulate an application by running the sidecar and calling the state management API directly.
After running Dapr using the Dapr CLI, you'll:
- Save a state object.
- Read/get the state object.
@ -21,7 +22,8 @@ In this guide, you'll simulate an application by running the sidecar and calling
### Step 1: Run the Dapr sidecar
The [`dapr run`]({{< ref dapr-run.md >}}) command launches an application, together with a sidecar.
The [`dapr run`]({{< ref dapr-run.md >}}) command normally runs your application and a Dapr sidecar. In this case,
it only runs the sidecar since you are interacting with the state management API directly.
Launch a Dapr sidecar that will listen on port 3500 for a blank application named `myapp`: