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

As per the documentation, the HttpTrigger API key has a variable name code

like:

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

this:

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

      

I want to do this because I want to use Azure Functions along with a third party web site that expects access_token

as a variable name.

+3


source to share


1 answer


No, this name cannot be changed - it is part of our API and is not configurable.



+3


source







All Articles