Azure 函数 - 更改变量的名称 "code"

Azure Function - Change the name of the variable "code"

根据 documentation HttpTrigger API 键有变量名 code,像这样:

https://<yourapp>.azurewebsites.net/api/<function>?code=<ApiKey>

我可以更改这个变量名吗?就我而言,我想将其更改为 access_token,如下所示:

https://<yourapp>.azurewebsites.net/api/<function>?access_token=<ApiKey>

我想这样做是因为我想将 Azure Functions 与期望 access_token 作为变量名的第 3 方 webhook 一起使用。

不,该名称无法更改 - 它是我们 API 的一部分,不可配置。