Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24

Thread: difference between GET and POST method

  1. #21

    Re: difference between GET and POST method

    Main difference between GET and POST method is, POST is used to send data from one webpage to other(Usually in Server-side languages like PHP) and GET is used to retrieve/receive data sent (by POST ) by the same page or any other page.

    Ex- 1st in Login page, if you enter username and password and click submit, this data is sent (by POST) to another page (like check.php for example). In check.php , you receive the data using GET method and use that data by storing them in variables.


  2. #22

    Re: difference between GET and POST method

    Hi Everyone,

    GET:
    GET requests a representation of the specified resource. Note that GET should not be used for operations that cause side-effects, such as using it for taking actions in web applications. One reason for this is that GET may be used arbitrarily by robots or crawlers, which should not need to consider the side effects that a request should cause.

    POST:
    POST submits data to be processed (e.g., from an HTML form) to the identified resource. The data is included in the body of the request. This may result in the creation of a new resource or the updates of existing resources or both.


  3. #23
    Junior Member
    Join Date
    Jun 2014
    Answers
    3

    Re: difference between GET and POST method

    These are different method submitting data to server. Get method is used to submit data that is common to all users.In Get the form fields are included in URL that the form is posted to. In Post method these are directly included in the request.

    Get method-receive Data
    Post method-Send Data


  4. #24
    Junior Member
    Join Date
    Jun 2015
    Answers
    1

    Re: difference between GET and POST method

    To keep ur information secure you should use post method coz when we use Get method the data we transfer will appear on URL so it will appear publicly so it is not secure.


Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact