Re: [Interest] QWebEngine: Http POST request with payload data

2017-03-10 Thread Jason Dolan
Hey Allen, Do you have an example of how to issue the HTTP POST request with QNetworkAccessManager and then hand off the response to QWebEngineView (including setting up the cookies)? I’m having trouble getting this to work. > On Mar 8, 2017, at 3:41 AM, Allan Sandfeld Jensen wrote: > > On T

Re: [Interest] QWebEngine: Http POST request with payload data

2017-03-08 Thread Allan Sandfeld Jensen
On Tuesday 07 March 2017, Jason Dolan wrote: > > On Mar 6, 2017, at 12:10 PM, Allan Sandfeld Jensen > > wrote: > > > > On Monday 06 March 2017, Jason Dolan wrote: > >> Ahh, of coarse there is a solution in the *next* release. I feel like > >> that’s always the case with QWebEngine since Qt 5.0.

Re: [Interest] QWebEngine: Http POST request with payload data

2017-03-07 Thread Jason Dolan
> On Mar 6, 2017, at 12:10 PM, Allan Sandfeld Jensen wrote: > > On Monday 06 March 2017, Jason Dolan wrote: >> Ahh, of coarse there is a solution in the *next* release. I feel like >> that’s always the case with QWebEngine since Qt 5.0. Well, I guess it >> takes a while for it to become a full

Re: [Interest] QWebEngine: Http POST request with payload data

2017-03-06 Thread Allan Sandfeld Jensen
On Monday 06 March 2017, Jason Dolan wrote: > Ahh, of coarse there is a solution in the *next* release. I feel like > that’s always the case with QWebEngine since Qt 5.0. Well, I guess it > takes a while for it to become a full fledged replacement for QWebkit. > > Guess I’ll go the Javascript ro

Re: [Interest] QWebEngine: Http POST request with payload data

2017-03-06 Thread Konstantin Tokarev
--------- >> From: Interest on behalf >> of Jason Dolan >> Sent: Sunday, March 5, 2017 7:17:36 PM >> To: interest@qt-project.org >> Subject: [Interest] QWebEngine: Http POST request with payload data >> >> Does anyone know of the best wa

Re: [Interest] QWebEngine: Http POST request with payload data

2017-03-06 Thread Jason Dolan
7:17:36 PM > To: interest@qt-project.org <mailto:interest@qt-project.org> > Subject: [Interest] QWebEngine: Http POST request with payload data > > Does anyone know of the best way to make a HTTP Post request with payload > data using QWebEngine? > > In Qt4, you

Re: [Interest] QWebEngine: Http POST request with payload data

2017-03-05 Thread Kai Koehne
Jason Dolan Sent: Sunday, March 5, 2017 7:17:36 PM To: interest@qt-project.org Subject: [Interest] QWebEngine: Http POST request with payload data Does anyone know of the best way to make a HTTP Post request with payload data using QWebEngine? In Qt4, you would do something like: Q

[Interest] QWebEngine: Http POST request with payload data

2017-03-05 Thread Jason Dolan
Does anyone know of the best way to make a HTTP Post request with payload data using QWebEngine? In Qt4, you would do something like: QNetworkRequest request(url); request.setHeader(QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded"); webView->load(request, QNetworkAccessMan