Expand the example code - need to actually implement a working example

This commit is contained in:
amaitland
2015-11-29 07:36:15 +10:00
parent a59b78b834
commit 3a15e48149
@@ -185,9 +185,11 @@ namespace CefSharp.Wpf.Example.ViewModels
{
var frame = WebBrowser.GetMainFrame();
var request = frame.CreateRequest();
//Create a new request knowing we'd like to use PostData
var request = frame.CreateRequest(initializePostData:true);
request.Method = "POST";
request.Url = "http://www.google.com.au";
request.Url = "custom://cefsharp/PostDataTest.html";
request.PostData.AddData("test=123&data=456");
frame.LoadRequest(request);
}