I am using Python. Have to pass a variable (comName)in Azure function to the return func.HttpResponse . below is my code.
comName= 'Xerox'
return func.HttpResponse(status_code=200,headers={'content-type':'text/html'},
body=
"""<!DOCTYPE html>
<html>
<body>
<h1>Hello , thanks for your response {name} </h1>
</body>
</html>
"""
)
this is working and return the h1 tag as its. Hello , thanks for your response {name}
Thanks.
