Skip to content

Commit

Permalink
Merge pull request #805 from WigF1/master
Browse files Browse the repository at this point in the history
Replace markdown for CURL statements
  • Loading branch information
msftnutta authored May 26, 2024
2 parents 3109f4a + 7b8fc8d commit 9e3be2b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Instructions/Labs/AZ-204_lab_02.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,25 +288,25 @@ In this exercise, you created a local project that you'll use for Azure Function
1. Run the following command to run test the **POST** REST API call against `http://localhost:7071/api/echo` with HTTP request body set to a numeric value of **3**:
```powershell
```cmd
curl -X POST -i http://localhost:7071/api/echo -d 3
```

1. Run the following command to test the **POST** REST API call against `http://localhost:7071/api/echo` with HTTP request body set to a numeric value of **5**:

```powershell
```cmd
curl -X POST -i http://localhost:7071/api/echo -d 5
```

1. Run the following command to test the **POST** REST API call against `http://localhost:7071/api/echo` with HTTP request body set to a string value of **Hello**:

```powershell
```cmd
curl -X POST -i http://localhost:7071/api/echo -d "Hello"
```

1. Run the following command to test the **POST** REST API call against `http://localhost:7071/api/echo` with HTTP request body set to a JavaScript Object Notation (JSON) value of **{"msg": "Successful"}**:

```powershell
```cmd
curl -X POST -i http://localhost:7071/api/echo -d "{"msg": "Successful"}"
```

Expand Down Expand Up @@ -542,7 +542,7 @@ In this exercise, you created a function that runs automatically based on a fixe
1. Run the following command to test the **GET** REST API call against `http://localhost:7071/api/GetSettingInfo`:
```powershell
```cmd
curl -X GET -i http://localhost:7071/api/GetSettingInfo
```

Expand Down
4 changes: 2 additions & 2 deletions Instructions/Labs/AZ-204_lab_07.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,13 +446,13 @@ In this exercise, you created a system-assigned managed service identity for you

1. Run the following command to run test the **GET** REST API call against `http://localhost:7071/api/FileParser`:

```powershell
```cmd
curl -X GET -i http://localhost:7071/api/FileParser
```

1. Observe the **[TEST VALUE]** value of the **StorageConnectionString** being returned as the result of the HTTP request:

```powershell
```cmd
HTTP/1.1 200 OK
Content-Type: text/plain; charset=utf-8
Date: Tue, 01 Sep 2020 23:35:39 GMT
Expand Down

0 comments on commit 9e3be2b

Please sign in to comment.