Created
September 4, 2018 17:21
-
-
Save codemillmatt/61b8dd9b198df31e0f6169d412f62242 to your computer and use it in GitHub Desktop.
This file contains 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("MovieReviewPermission")] | |
public static async Task<HttpResponseMessage> Run( | |
[HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)]HttpRequestMessage req, | |
[DocumentDB(databaseName: "moviereview-db", collectionName: "reviews", ConnectionStringSetting = "CosmosConnectionString")] DocumentClient client, | |
TraceWriter log) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment