?
Solved

difference between get & post in Html?

Posted on 2004-08-05
6
Medium Priority
?
849 Views
Last Modified: 2008-02-01
difference between get & post in Html?
0
Comment
Question by:she1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 21

Expert Comment

by:pinaldave
ID: 11731446
0
 
LVL 6

Accepted Solution

by:
viola123 earned 80 total points
ID: 11731841
i am trying to tell you the difference in 2 minutes.

using get method, you can see the query string appended directly behind your URL in the address field of browsers.

however, post method won't display your query string in the address field. Thus, it looks more secure.

the reason of this difference is the http request format:

in the http request of post method, query string is the last line. but in get method, query string is just behind the URL. it is in the first line


regards
viola123
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 11731911
Good link Pinal - covers the issue very well :-)
0
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
LVL 21

Expert Comment

by:pinaldave
ID: 11732103
Thank you Sean :-) Many times I have troubles and I go to search EE I solve my problems with your answers in EE :-))
Regards,
---Pinal
0
 
LVL 4

Expert Comment

by:hamood
ID: 11735540
One more thing that when you are using get method then you can post limited data because we can not send huge amount of data using query string. If that is the case then we have to use post method.

One more thing get is not secure method it exposes your data to viewer. People can view the data in the URL. One can use post method to hide the data in URL.

Hamood
0
 

Author Comment

by:she1
ID: 11740045
thanks lot    for   all your help!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question