Closed7
Azure Functions環境構築 ~V3~

上記を試していく

func init. --typescript
上記を実行

func new --name HttpExample --template "HTTP trigger" --authlevel "anonymous"
上記を実行

nodeのversionが18だったためにエラーが発生していた
しばらくは16で対応

function.jsonを以下にする必要あり
{
"bindings": [
{
"authLevel": "function",
"type": "httpTrigger",
"direction": "in",
"name": "req",
"methods": ["get", "post"]
},
{
"type": "http",
"direction": "out",
"name": "res"
}
],
"scriptFile": "../dist/HttpExample/index.js",
"entryPoint": "default"
}
このスクラップは2023/11/04にクローズされました