Sample | Description | Trigger | In Bindings | Out Bindings |
---|---|---|---|---|
http-trigger-dump-request | Azure Function HTTP Trigger Python Sample that returns request dump info with JSON format | HTTP | NONE | HTTP |
func host start
curl -s http://localhost:7071/api/http-trigger-dump-request |jq
{
"method": "GET",
"url": "http://localhost:7071/api/http-trigger-dump-request",
"headers": {
"accept": "*/*",
"host": "localhost:8080",
"user-agent": "curl/7.54.0"
},
"params": {},
"get_body": ""
}
Publish the function to the cloud
FUNCTION_APP_NAME="MyFunctionApp"
func azure functionapp publish $FUNCTION_APP_NAME