Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created January 27, 2017 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinyoo/1b95705583f412c31edf7d81aec2f7c9 to your computer and use it in GitHub Desktop.
Save justinyoo/1b95705583f412c31edf7d81aec2f7c9 to your computer and use it in GitHub Desktop.
Integrating Microsoft Flow for Non-IT People
using System.Net;
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, TraceWriter log)
{
log.Info("C# HTTP trigger function processed a request.");
var data = await req.Content.ReadAsStringAsync();
log.Info(data);
return req.CreateResponse(HttpStatusCode.OK, "Tweets fetched");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment