All trigger bindings have at least three following elements. Let's explore them in the following code snippet:
{ "name": "name of the trigger parameter in function signature", "type": "trigger type", "direction": "in" }
Take a look at the following three elements depicted in the preceding code snippet:
- name: This element is the name used for the trigger parameter used in the function signature. You can browse the code of the ScoreText function we've created in the previous chapter to see that the trigger name defined in the function.json file, "name": "req", corresponds to the first parameter in the function signature in ScoreText.cs, HttpRequestMessage req. This parameter allows us to access the data supplied by the trigger ...