You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the following code to navigate to the specific page with the form data. But our backend cannot get the correct form data. It always is null.
Please help me check if there are some issues in my code.
Sorry, this question got lost in our backlog for a while :( ... We had fixed some bugs around this code, please let me know if you still need help with this. Also, if this is a UWP app, I'd recommend using InMemoryRandomAccessStream instead of MemoryStream as the WinRT MemoryStream has a known issue.
We are using the following code to navigate to the specific page with the form data. But our backend cannot get the correct form data. It always is null.
Please help me check if there are some issues in my code.
`
string formData ="&name=abc&age=10";
byte[] pramByte = Encoding.ASCII.GetBytes(formData);
using(Stream stream = new MemoryStream(pramByte))
{
CoreWebView2WebResourceRequest request =
this.browser.CoreWebView2.Environment.CreateWebResourceRequest("http://localhost:8080/test", "POST", stream, "Content-
Type: application/x-www-form-urlencoded");
}
`
The text was updated successfully, but these errors were encountered: