I'm wondering if I can get POST data of the WebView request in UWP.
I'm using WebView_NavigationStarting event to get information about URI, but I have custom page which sent some information back to the app inside the POST request. Ideally I want to do this:
private void WebView_NavigationStarting(WebView sender, WebViewNavigationStartingEventArgs args)
{
Stream receiveStream = args.Request.InputStream;
}
But args doesn't have Request, only Uri. I was able to do this trick in iOS and Android (iOS, for example, pass the whole request to the similar event so why it's possible). Is there way to do so in UWP C# app ?