title: How to identify the HTTP method (verb) used to invoke an Azure Function
body: <p>From the Azure Portal, we can easily create Function Apps.
  Once the Function App is created, we can add functions to the app.</p>
  
  <p>In my case, from the custom templates, I'm selecting C#, API &amp; Webhooks, and then selecting the Generic Webhook C# template.</p>
  
  <p>From the Integrate menu, under the <strong>HTTP Header</strong> heading, there is a drop down box to with 2 selections: All Methods and Selected Methods. I then choose <strong>Selected Methods</strong>, and then have the option to select which HTTP methods the function can support. I would like my function to support GET, PATCH, DELETE, POST and PUT.</p>
  
  <p>From within the C# run.csx code, how can I tell what method was used to invoke the method? I would like to be able to take different actions within the function code based on the HTTP method that was used to invoke the function. </p>
  
  <p>Is this possible?</p>
  
  <p>Thank you for your help.</p>