×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2009
    Location
    India
    Posts
    143

    Difference Between GET & POST method

    Hi guys,
    can any one pls tell ,what is the difference between HTTP GET & POST method?

    and pls answer the following Q

    1.is it possible to send data to server by GET mtd? (like www.xyz.com?data)

    2.if yes how much data we can attach?
    Regards,
    Gobi

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,144

    Re: Difference Between GET & POST method

    that would be rather basic, question so you could maybe google for complete answer, anyway GET request often have Url encoded data, where as POST would have the data in a separate entity in teh body.

  3. #3
    Registered User
    Join Date
    Aug 2003
    Location
    Oulu, Finland
    Posts
    1,122

    Re: Difference Between GET & POST method

    Yes, you can send such data in the request URI.

    GET and POST are semantically different. GET queries should not modify the underlying resource on the server. If the data you're sending is query parameters, then it's ok. If the data is for example modifying a database, you should use other HTTP verbs such as POST/PUT/DELETE instead.

    Maximum length of a GET request URL is implementation dependent. Typically you start to see servers return e.g. 413 Entity Too Large errors at about 2kB (Apache httpd).

    Lauri

  4. #4
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: Difference Between GET & POST method

    hi,
    there total 12 different method that can be used with htttp but the GET and POST methods are mostly used. The main difference between them is already told to you. You get more information on google alsio.

    I think there is no restriction of data sze if you are using a POST method but if you are using a GET method than the data size is tthe restriced by the maximum size of the url that can be possible as data is sent along with the url.
    Jajal Mehul

Similar Threads

  1. Replies: 1
    Last Post: 2009-04-20, 17:54
  2. data abort exception while calling HTTp Post method
    By smita.pawar in forum Symbian
    Replies: 0
    Last Post: 2008-09-18, 09:47
  3. Problem with HTTP POST
    By thathoo in forum Mobile Java General
    Replies: 2
    Last Post: 2006-12-18, 18:23
  4. Problem to make httpconnection using POST method on Midp1.0 handsets
    By pankaj_hotwani in forum Mobile Java General
    Replies: 0
    Last Post: 2006-11-22, 11:28
  5. POST method for many records?
    By tositpl in forum Symbian
    Replies: 0
    Last Post: 2004-04-02, 14:10

Posting Permissions

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