Results 1 to 2 of 2

Thread: Method POST using QTcpServer ?

  1. #1
    Join Date
    Oct 2009
    Posts
    38
    Thanks
    13
    Platforms
    Unix/X11 Windows

    Default Method POST using QTcpServer ?

    Hi there!

    I have an html server (QTcpServer and QTcpSocket), and I would like to be able to send some data to it, using the post method from html forms.

    However, I don't know how to catch this "packet".

    Any idea ?

  2. #2
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Thanks
    17
    Thanked 90 Times in 88 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Method POST using QTcpServer ?

    Same as GET. Just look for POST in your incoming data stream.

    http://www.jmarshall.com/easy/http/#postmethod

    HIH

    Joh

  3. The following user says thank you to JohannesMunk for this useful post:

    fitzy (28th October 2009)

Similar Threads

  1. How to upload file to HTTP server (POST Method)
    By Alex Snet in forum Qt Programming
    Replies: 8
    Last Post: 24th January 2011, 22:49
  2. QHTTP POST problem
    By oscar in forum Qt Programming
    Replies: 5
    Last Post: 10th October 2009, 19:58
  3. Http Post method help
    By ravirdv in forum Qt Programming
    Replies: 0
    Last Post: 27th September 2009, 12:15
  4. QTcpServer as a HTTPServer + POST Requests
    By NoRulez in forum Qt Programming
    Replies: 2
    Last Post: 27th May 2008, 17:49
  5. Replies: 4
    Last Post: 10th March 2007, 18:01

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.