Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Latest commit

 

History

History

http-trigger-dump-request

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

http-trigger-blob-sas-token (Python)

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

Local development

func host start

Test access

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

Publish the function to the cloud

FUNCTION_APP_NAME="MyFunctionApp"
func azure functionapp publish $FUNCTION_APP_NAME