Results 1 to 6 of 6

Thread: Qhttp:Post() - multipart/form-data

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Qhttp:Post() - multipart/form-data

    Are you sure the data should be posted in such a format?

    This might help you: http://www.faqs.org/rfcs/rfc2388.html

    What you are using seems to be "application/x-url-encoded".

  2. #2
    Join Date
    Apr 2008
    Location
    California
    Posts
    25
    Qt products
    Qt4
    Platforms
    MacOS X Windows
    Thanks
    2

    Default Re: Qhttp:Post() - multipart/form-data (solved)

    Thank you for your responses. I found out the problem was the format of my post data. I also needed to add the end of the data text. If anyone is interested in knowing the solution I can post my code here.

    Once again thank you for your time.

    Ar
    - AR

  3. #3
    Join Date
    Oct 2010
    Location
    India
    Posts
    12
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: Qhttp:Post() - multipart/form-data

    Hi, please post your Qt code here, It will be useful for our forum users.

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Qhttp:Post() - multipart/form-data

    Not using the deprecated QHttp class in new code would also be helpful.
    This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Similar Threads

  1. QSqlQueryModel data update
    By psi in forum Qt Programming
    Replies: 4
    Last Post: 20th July 2012, 04:59
  2. Replies: 4
    Last Post: 19th October 2007, 20:47
  3. Data model
    By steg90 in forum Qt Programming
    Replies: 3
    Last Post: 17th September 2007, 13:14
  4. speed of setdata - lots of items in treeview
    By Big Duck in forum Qt Programming
    Replies: 4
    Last Post: 6th July 2006, 13:53
  5. Replies: 16
    Last Post: 7th March 2006, 16:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.