Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 736
1iveowl Avatar asked Nov 18 '25 01:11

1iveowl


1 Answers

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

like image 50
mathewc Avatar answered Nov 20 '25 16:11

mathewc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!