tags:

views:

171

answers:

2

How can I issue a POST request over a QWebView instance?

A: 

There is a load method which allows you to specify custom QNetworkRequest object and request type (GET, POST etc): http://doc.trolltech.com/4.6/qwebview.html#load-2

VestniK
A: 

Hi.

I think the information below will help you:

1). Standard Qt example project, called "previewer", which comes with Qt SDK, may help you. For me, the absolute path is:

C:\Qt\4.6.2\examples\webkit\previewer

QWebView class, as I could test it, supports "post method", i.e. you can free open URL with POST page, and tap on the "Open file" button and after that upload any data.

2). About a month ago a have some kind of a problem with posting data (any files) to server, and here was my question.

mosg