What is an HTTP POST request, and what does it do?
-
I'm trying to execute a script on a web page remotely through Java (post on forums, vote on vote-enabled websites etc through my own Java application), but I'm not sure how to achieve this. I'm thinking maybe this HTTP Post request thing could do the trick, but I don't exactly know what it is even though Wikipedia says that it's used to send data to a server, which would technically be what I'm searching for. Could you elaborately explain what an HTTP Post Request is, and what it's used for/what it does, and if possible explain the difference between it and an HTTP GET Request. Also, can my intentions be achieved with this? (logging in into a website, post on a forum, vote on yahoo answers, etc).
-
Answer:
It is the more powerful and secure method of passing data from a form on a site to another form, or to itself. Get is not as efficient and is less secure. But if you try to send a script through to the site from a client machine you are illegally hacking the site. Most admins have traps to prevent this. But they could also prosecute you for trying to get their site to run a script they did not provide. Possible 20 years prison service.
Colinc at Yahoo! Answers Visit the source
Other answers
As Get is for getting and it is idenpodent.. what ever request you send in case of form submit in forums, the data on the fields become part of url and it is used for limited amout of data,,, and Post is for posting and it is none idenpodent and what ever data u post in forum or any webpage is being encrypted by using Get you will never want same data again and again added in your database
Related Q & A:
- How to get file properties from a post request using Slim?Best solution by Stack Overflow
- What is a permalink on Flickr and what do you do with it?Best solution by Yahoo! Answers
- What is the oldest post on "Yahoo Answer?Best solution by Yahoo! Answers
- What does a private post on Tumblr mean?Best solution by Yahoo! Answers
- What are some good post apocalyptic Games?Best solution by ChaCha
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.