Skip to content

Instantly share code, notes, and snippets.

@justinyoo
Created July 20, 2017 13:09
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/ee88f64301ef7c7eb4b4921a78d9c07c to your computer and use it in GitHub Desktop.
Save justinyoo/ee88f64301ef7c7eb4b4921a78d9c07c to your computer and use it in GitHub Desktop.
Testing Serverless Applications - Part 2
// Returns an error response
public static async Task<HttpResponseMessage> Run(HttpRequestMessage req, ILogger log)
{
return req.CreateResponse(HttpStatusCode.BadRequest);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment