Created
January 27, 2023 04:43
-
-
Save timheuer/5a546ac9eefc99263140720912973ccd 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
[Function(nameof(GetLiveChannels))] | |
public async Task<HttpResponseData> GetLiveChannels( | |
[HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)] HttpRequestData req, | |
ILogger log | |
) | |
{ | |
var formData = new FormReader(req.Body); | |
// There is no Form property. How do we access the HTTP POST content? | |
var channelIds = formData.GetValue("ChannelIdCsv").ToString().Split(','); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment