Last active
November 19, 2018 23:58
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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