Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2007

    CHTTPFormEncoder equivalent in Qt?

    I need to do a HTTP POST to a webserver, that accepts the POST data as form encoded format. This web server doest have a method to do the POST, instead the data is set in POST body.

    We did this successfully for S60 using CHTTPFormEncoder. I added the values to CHTTPFormEncode and set to HTTP using RHttpTransaction::Request().SetBody()

    We are struck in Qt at this point, as there is no equivalent to CHTTPFormEncoder. The documentation says to use QHttp::request(), but that doest work.

    Is there any work around, if so please suggest.

  2. #2
    Registered User
    Join Date
    Dec 2007

    Re: CHTTPFormEncoder equivalent in Qt?

    Perhaps you should take a look at QNetworkRequest and QNetworkAccessManager:


    That might be closer to what you are looking for.

Similar Threads

  1. Qt for Symbian development resources
    By liuxg in forum [Archived] Qt General ( Qt技术)
    Replies: 55
    Last Post: 2011-01-26, 04:06
  2. Senior QT Client Developer (Dublin, Ireland)
    By marynyc in forum News and Announcements
    Replies: 0
    Last Post: 2009-06-02, 18:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts