Skip to content

Instantly share code, notes, and snippets.

@jamesmundy
Last active November 19, 2018 23:58
Show Gist options
  • Save jamesmundy/7040484797f08b3022c2d8b39aa68d44 to your computer and use it in GitHub Desktop.
Save jamesmundy/7040484797f08b3022c2d8b39aa68d44 to your computer and use it in GitHub Desktop.
The initial set up of an Azure Function http trigger for an Azure Function bot
[FunctionName("ChatFunction")]
public static async Task<HttpResponseMessage> ChatFunction([HttpTrigger(AuthorizationLevel.Anonymous, Route = "v1/messages")] HttpRequestMessage req,
TraceWriter log)
{
return new HttpResponseMessage(HttpStatusCode.OK);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment