[Qt-interest] How to send a query parameter to QHTTP?

Lingfa Yang lingfa at brandeis.edu
Mon May 18 20:00:09 CEST 2009


Thank you. The get method works:

QString path = "/q?s=^DJI";
httpGetId = http->get(path, file);

Lingfa

Brad Howes wrote:
> On May 18, 2009, at 12:02 PM, Lingfa Yang wrote:
>
>   
>> A quick question: When I have a url with a query parameter following a
>> '?' character, how to send out the query?
>>     
>
>
> See QHttp help, and the use of QHttpRequestHeader in the detailed  
> description. Also make sure you properly encode your request.
>
> Brad
>
>   




More information about the Qt-interest-old mailing list