File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,14 +131,14 @@ Application started. Press Ctrl+C to shut down.
131
131
132
132
Http Functions:
133
133
134
- HttpTrigger-Java : [GET,POST] http://localhost:7071/api/HttpTrigger-Java
134
+ HttpExample : [GET,POST] http://localhost:7071/api/HttpExample
135
135
...
136
136
```
137
137
138
138
Trigger the function from the command line using cURL in a new terminal window:
139
139
140
140
``` bash
141
- curl -w " \n" http://localhost:7071/api/HttpTrigger-Java --data AzureFunctions
141
+ curl -w " \n" http://localhost:7071/api/HttpExample --data AzureFunctions
142
142
```
143
143
144
144
``` output
@@ -210,7 +210,7 @@ You can now use the copied URL to access your function.
210
210
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.
211
211
212
212
``` 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
214
214
```
215
215
216
216
This sends a POST request to the function endpoint with ` AzureFunctions ` in the body of the request. You see the following response.
You can’t perform that action at this time.
0 commit comments