Mistake in Documentation for goToURL

In the WebBrowserComponent::goToUrl documentation it’s claimed that headers and postData are sent as well. However when using WebView2 on Windows “navigate” is used to go to the URL which completely drops headers and postdata as seen here

Instead of “Navigate” I think it should be done with “NavigateWithWebResourceRequest” which is only available in ICoreWebView2_2 which I dont understand how to make use of.

Any help or clarification appreciated!

1 Like