1iveowl
1iveowl

Reputation: 1732

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

According the documentation the HttpTrigger API Key has the variable name code, like this:

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

Can I change this variable name? In my case I want to change it to access_token like this:

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

I want to do this because I want to use Azure Functions together with a 3rd party webhook that is expects access_token as the variable name.

Upvotes: 3

Views: 191

Answers (1)

mathewc
mathewc

Reputation: 13558

No that name cannot be changed - it is part of our API and isn't configurable.

Upvotes: 3

Related Questions