Skip to content

Commit 4507e1d

Browse files
authored
Merge pull request #107231 from Elvira-sxr/patch-5
Update functions-create-first-java-maven.md
2 parents 19ebd8a + 640e79e commit 4507e1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-functions/functions-create-first-java-maven.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,14 @@ Application started. Press Ctrl+C to shut down.
131131
132132
Http Functions:
133133
134-
HttpTrigger-Java: [GET,POST] http://localhost:7071/api/HttpTrigger-Java
134+
HttpExample: [GET,POST] http://localhost:7071/api/HttpExample
135135
...
136136
```
137137

138138
Trigger the function from the command line using cURL in a new terminal window:
139139

140140
```bash
141-
curl -w "\n" http://localhost:7071/api/HttpTrigger-Java --data AzureFunctions
141+
curl -w "\n" http://localhost:7071/api/HttpExample --data AzureFunctions
142142
```
143143

144144
```output
@@ -210,7 +210,7 @@ You can now use the copied URL to access your function.
210210
To verify the function app running on Azure using `cURL`, replace the URL from the sample below with the URL that you copied from the portal.
211211

212212
```console
213-
curl -w "\n" https://fabrikam-functions-20190929094703749.azurewebsites.net/api/HttpTrigger-Java?code=zYRohsTwBlZ68YF.... --data AzureFunctions
213+
curl -w "\n" https://fabrikam-functions-20190929094703749.azurewebsites.net/api/HttpExample?code=zYRohsTwBlZ68YF.... --data AzureFunctions
214214
```
215215

216216
This sends a POST request to the function endpoint with `AzureFunctions` in the body of the request. You see the following response.

0 commit comments

Comments
 (0)