[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KIO::http_post question
From:       Peter Birch <peter () lindows ! com>
Date:       2003-04-23 20:20:17
[Download RAW message or body]

QByteArray      arData;
QString         sData;

sData = "var1=data1&var2=data2&var3=data3";

// copy the     post data so we can     send it
arData.duplicate(static_cast<const char *>(sData), sData.length());

// build the transfer job
m_pJob = KIO::http_post("http://www.someuri.com/post_test.cgi", arData, 
false);


On Wednesday 23 April 2003 12:19 pm, Oliver Graf wrote:
> > Hi everybody,
> > how do I use KIO::http_post(url,postData,progress)?
> > Should the url contain the query part? What goes into
> > postData? Unfortunately, I couldn't find any example.
>
> No idea?
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> >> unsubscribe <<

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic