PDA

View Full Version : Simplest way to make an HTTP POST/GET request?



N3wb
8th September 2012, 01:58
I'm new to QT and need to make an HTTP POST or GET request from a small program I'm working on. I've tried looking at some examples, but they all are different and seem overly complicated.

Could anyone point me to minimalist example code to make an outbound POST or GET request? Either would work fine and I don't actually need to retrieve any output, all I need to do is pass data from the QT application to a MySQL server every 1/10 sec.

I would really appreciate it if someone could direct me to example code.

Thanks :)

wysota
8th September 2012, 04:54
Have a look at QNetworkAccessManager.