Answer the question
In order to leave comments, you need to log in
How to read the token in the header when opening the page?
There is an application that opens a page of the site through a webview, and before opening it writes a token in the header. Code below
var request = webView21.CoreWebView2.Environment.CreateWebResourceRequest(url, "GET", Stream.Null, "");
request.Headers.SetHeader("bearer", token);
webView21.CoreWebView2.NavigateWithWebResourceRequest(request);
webView21.CoreWebView2.Navigate(url);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question