Skip to content

Instantly share code, notes, and snippets.

@yuka1984
Created April 15, 2019 01:01
Show Gist options
  • Save yuka1984/316a00330ae00548c491b6c525953398 to your computer and use it in GitHub Desktop.
Save yuka1984/316a00330ae00548c491b6c525953398 to your computer and use it in GitHub Desktop.
[FunctionName("Api_AddItems")]
public async Task<IActionResult> Create(
[HttpTrigger(AuthorizationLevel.Function, "post", "product")]
[RequestBodyType(typeof(ProductCreateRequest), "product request")]HttpRequest request)
{
return new OkObjectResult(new ProductModel());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment