Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, March 2007
QHttp::post() example?


Message 1 in thread

I am trying to use QHttp to POST some form data. I can use get() and the 
form arguments are making it to the form. However, if I use post(), no 
POST data shows up at the other end.

Is there some special way the data passed to post() has to be formatted?

-- 
 [ signature omitted ] 

Message 2 in thread

Paul Miller wrote:
> I am trying to use QHttp to POST some form data. I can use get() and the 
> form arguments are making it to the form. However, if I use post(), no 
> POST data shows up at the other end.
> 
> Is there some special way the data passed to post() has to be formatted?

Nevermind - I figured it out. I had to build my own POST request header 
with some additional headers in it to make the server happy.

-- 
 [ signature omitted ]