Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can you use non-default Function keys?

In the azure functions there is the option of adding function keys. How do you accept keys other than the default?

https://xxxxxxx.azurewebsites.net/api/webhook?code=kjsdfklhsdf==

where kjsdfklhsdf== is the default key. how can i use a different key?

like image 509
gashach Avatar asked Nov 22 '16 16:11

gashach


People also ask

How do I make F keys work without HP Fn?

Enable or disable fn (function) or action keys modePress the right or left arrow key to select the System Configuration menu. Press the up or down arrow key to select Action Keys Mode. Press the enter key to display the Enabled / Disabled options. Press the up or down arrow key to select one of the options.

What are the default function keys?

The function keys or F keys are lined across the top of the keyboard and labeled F1 through F12. These keys act as shortcuts, performing certain functions, like saving files, printing data, or refreshing a page. For example, the F1 key is often used as the default help key in many programs.

What is F1 f2 f3 f4 f5 f6 f7 f8 f9 F10 f11 F12?

The function keys or F-keys on a computer keyboard, labeled F1 through F12, are keys that have a special function defined by the operating system, or by a currently running program. They may be combined with the Alt or Ctrl keys.


1 Answers

Under your function in the "Manage" section there is UI for adding new keys. Select "Add new function key", give it a name and select "Save" leaving the value empty. A new key will be generated for you.

Once you add a new key, you can simply copy its value and use it as the code query parameter in your requests.

If your function is a WebHook (as opposed to a regular http function), when using a key other than the default you must also specify the clientId as a query param (the client ID is the name of your new key):

https://<site>.azurewebsites.net/api/webhook?code=<code>&clientId=<keyName>

This is documented more here in the WebHooks section of our wiki.

like image 68
mathewc Avatar answered Oct 16 '22 20:10

mathewc