<p>From what I can gather, there are three categories:</p>

<ol>
<li>Never use <code>GET</code> and use <code>POST</code></li>
<li>Never use <code>POST</code> and use <code>GET</code></li>
<li>It doesn't matter which one you use.</li>
</ol>

<p>Am I correct in assuming those three cases? If so, what are some examples from each case?</p>

[{'answer_id': 46591, 'author': 'Kyle Cronin', 'author_id': 658, 'author_profile': 'https://Stackoverflow.com/users/658', 'pm_score': 3, 'selected': False, 'text': '<p>Use GET when you want the URL to reflect the state of the page. This is useful for viewing dynamically generated pages, such as those seen here. A POST should be used in a form to submit data, like when I click the "Post Your Answer" button. It also produces a cleaner URL since it doesn\'t generate a parameter string after the path.</p>\n'}, {'answer_id': 46594, 'author': 'Douglas Leeder', 'author_id': 3978, 'author_profile': 'https://Stackoverflow.com/users/3978', 'pm_score': 6, 'selected': False, 'text': "<p>Use GET if you don't mind the request being repeated (That is it doesn't change state).</p>\n\n<p>Use POST if the operation does change the system's state.</p>\n"}, {'answer_id': 46595, 'author': 'Chris Miller', 'author_id': 206, 'author_profile': 'https://Stackoverflow.com/users/206', 'pm_score': 1, 'selected': False, 'text': "<p>The original intent was that GET was used for getting data back and POST was to be anything.  The rule of thumb that I use is that if I'm sending anything back to the server, I use POST.  If I'm just calling an URL to get back data, I use GET.</p>\n"}, {'answer_id': 46598, 'author': 'TonyLa', 'author_id': 1295, 'author_profile': 'https://Stackoverflow.com/users/1295', 'pm_score': 3, 'selected': False, 'text': "<p>My general rule of thumb is to use Get when you are making requests to the server that aren't going to alter state.  Posts are reserved for requests to the server that alter state.  </p>\n"}, {'answer_id': 46602, 'author': 'John Boker', 'author_id': 2847, 'author_profile': 'https://Stackoverflow.com/users/2847', 'pm_score': 2, 'selected': False, 'text': "<p>I use POST when I don't want people to see the QueryString or when the QueryString gets large.  Also, POST is needed for file uploads.</p>\n\n<p>I don't see a problem using GET though, I use it for simple things where it makes sense to keep things on the QueryString.</p>\n\n<p>Using GET will allow linking to a particular page possible too where POST would not work.</p>\n"}, {'answer_id': 46614, 'author': 'Brian Warshaw', 'author_id': 1344, 'author_profile': 'https://Stackoverflow.com/users/1344', 'pm_score': 10, 'selected': True, 'text': "<p>Use <code>POST</code> for destructive actions such as creation (I'm aware of the irony), editing, and deletion, because you can't hit a <code>POST</code> action in the address bar of your browser. Use <code>GET</code> when it's safe to allow a person to call an action. So a URL like:</p>\n\n<pre><code>http://myblog.org/admin/posts/delete/357\n</code></pre>\n\n<p>Should bring you to a confirmation page, rather than simply deleting the item. It's far easier to avoid accidents this way.</p>\n\n<p><code>POST</code> is also more secure than <code>GET</code>, because you aren't sticking information into a URL. And so using <code>GET</code> as the <code>method</code> for an HTML form that collects a password or other sensitive information is not the best idea.</p>\n\n<p>One final note: <code>POST</code> can transmit a larger amount of information than <code>GET</code>. 'POST' has no size restrictions for transmitted data, whilst 'GET' is limited to 2048 characters.</p>\n"}, {'answer_id': 46617, 'author': 'ceejayoz', 'author_id': 1902010, 'author_profile': 'https://Stackoverflow.com/users/1902010', 'pm_score': 2, 'selected': False, 'text': "<blockquote>\n  <p>i dont see a problem using get though, i use it for simple things where it makes sense to keep things on the query string.</p>\n</blockquote>\n\n<p>Using it to update state - like a GET of <code>delete.php?id=5</code> to delete a page - is very risky.  People found that out when Google's web accelerator started prefetching URLs on pages - it hit all the 'delete' links and wiped out peoples' data.  Same thing can happen with search engine spiders.</p>\n"}, {'answer_id': 46639, 'author': 'reefnet_alex', 'author_id': 2745, 'author_profile': 'https://Stackoverflow.com/users/2745', 'pm_score': 8, 'selected': False, 'text': '<p><strong>In brief</strong></p>\n\n<ul>\n<li>Use <code>GET</code> for <code>safe and</code><a href="https://stackoverflow.com/questions/1077412/what-is-an-idempotent-operation"><code>idempotent</code></a> requests</li>\n<li>Use <code>POST</code> for <code>neither safe nor idempotent</code> requests</li>\n</ul>\n\n<hr>\n\n<p><strong>In details</strong>\nThere is a proper place for each. Even if you don\'t follow <a href="http://en.wikipedia.org/wiki/REST" rel="noreferrer">RESTful</a> principles, a lot can be gained from learning about REST and how a resource oriented approach works. </p>\n\n<blockquote>\n  <p>A RESTful application will <code>use GETs</code> for operations which are both <code>safe and idempotent</code>. </p>\n</blockquote>\n\n<p>A <code>safe</code> operation is an operation which does <code>not change the data</code> requested. </p>\n\n<p>An <code>idempotent</code> operation is one in which the result will <code>be the same</code> no matter how many times you request it. </p>\n\n<p>It stands to reason that, as GETs are used for <em>safe</em> operations they are automatically also <em>idempotent</em>. Typically a GET is used for retrieving a resource (a question and its associated answers on stack overflow for example) or collection of resources. </p>\n\n<blockquote>\n  <p>A RESTful app will use <code>PUTs</code> for operations which are <code>not safe but idempotent</code>. </p>\n</blockquote>\n\n<p>I know the question was about GET and POST, but I\'ll return to POST in a second.</p>\n\n<p>Typically a PUT is used for editing a resource (editing a question or an answer on stack overflow for example). </p>\n\n<blockquote>\n  <p>A <code>POST</code> would be used for any operation which is <code>neither safe or idempotent</code>. </p>\n</blockquote>\n\n<p>Typically a POST would be used to create a new resource for example creating a NEW SO question (though in some designs a PUT would be used for this also). </p>\n\n<p>If you run the POST twice you would end up creating TWO new questions.</p>\n\n<blockquote>\n  <p>There\'s also a DELETE operation, but I\'m guessing I can leave that there :)</p>\n</blockquote>\n\n<p><strong>Discussion</strong></p>\n\n<p>In practical terms modern web browsers typically only support GET and POST reliably (you can perform all of these operations via javascript calls, but in terms of entering data in forms and pressing submit you\'ve generally got the two options). In a RESTful application the POST will often be overriden to provide the PUT and DELETE calls also. </p>\n\n<p>But, even if you are not following RESTful principles, it can be useful to think in terms of using GET for retrieving / viewing information and POST for creating / editing  information.</p>\n\n<p>You should never use GET for an operation which alters data. If a search engine crawls a link to your evil op, or the client bookmarks it could spell big trouble. </p>\n'}, {'answer_id': 46666, 'author': 'kemiller2002', 'author_id': 1942, 'author_profile': 'https://Stackoverflow.com/users/1942', 'pm_score': 2, 'selected': False, 'text': '<p>This traverses into the concept of REST and how the web was kinda intended on being used.  There is an excellent <a href="http://www.se-radio.net/2008/05/episode-98-stefan-tilkov-on-rest/" rel="nofollow noreferrer">podcast</a> on Software Engineering radio that gives an in depth talk about the use of Get and Post.</p>\n\n<p>Get is used to pull data from the server, where an update action shouldn\'t be needed.  The idea being is that you should be able to use the same GET request over and over and have the same information returned.  The URL has the get information in the query string, because it was meant to be able to be easily sent to other systems and people like a address on where to find something.  </p>\n\n<p>Post is supposed to be used (at least by the REST architecture which the web is kinda based on) for pushing information to the server/telling the server to perform an action.  Examples like: Update this data, Create this record.  </p>\n'}, {'answer_id': 46737, 'author': 'Brian Warshaw', 'author_id': 1344, 'author_profile': 'https://Stackoverflow.com/users/1344', 'pm_score': -1, 'selected': False, 'text': '<p>Gorgapor, <code>mod_rewrite</code> still often utilizes <code>GET</code>. It just allows to translate a friendlier URL into a URL with a <code>GET</code> query string.</p>\n'}, {'answer_id': 47335, 'author': 'davenpcj', 'author_id': 4777, 'author_profile': 'https://Stackoverflow.com/users/4777', 'pm_score': 3, 'selected': False, 'text': '<p>Because GETs are purely URLs, they can be cached by the web browser and may be better used for things like consistently generated images. (Set an Expiry time)</p>\n\n<p>One example from the gravatar page: <a href="http://www.gravatar.com/avatar/4c3be63a4c2f539b013787725dfce802?d=monsterid" rel="noreferrer">http://www.gravatar.com/avatar/4c3be63a4c2f539b013787725dfce802?d=monsterid</a></p>\n\n<p>GET may yeild marginally better performance, some webservers write POST contents to a temporary file before invoking the handler.</p>\n\n<p>Another thing to consider is the size limit. GETs are capped by the size of the URL, 1024 bytes by the standard, though browsers may support more.</p>\n\n<p>Transferring more data than that should use a POST to get better browser compatibility. </p>\n\n<p>Even less than that limit is a problem, as another poster wrote, anything in the URL could end up in other parts of the brower\'s UI, like history.</p>\n'}, {'answer_id': 943861, 'author': 'Cimplicity', 'author_id': 110161, 'author_profile': 'https://Stackoverflow.com/users/110161', 'pm_score': 6, 'selected': False, 'text': '<h2>Short Version</h2>\n\n<p>GET: Usually used for submitted search requests, or any request where you want the user to be able to pull up the exact page again.</p>\n\n<p>Advantages of GET:</p>\n\n<ul>\n<li>URLs can be bookmarked safely.</li>\n<li>Pages can be reloaded safely.</li>\n</ul>\n\n<p>Disadvantages of GET:</p>\n\n<ul>\n<li>Variables are passed through url as name-value pairs. (Security risk)</li>\n<li>Limited number of variables that can be passed. (Based upon browser. For example, <a href="http://support.microsoft.com/kb/208427" rel="noreferrer">Internet Explorer is limited to 2,048 characters.</a>)</li>\n</ul>\n\n<p>POST: Used for higher security requests where data may be used to alter a database, or a page that you don\'t want someone to bookmark. </p>\n\n<p>Advantages of POST:</p>\n\n<ul>\n<li>Name-value pairs are not displayed in url. (Security += 1)</li>\n<li>Unlimited number of name-value pairs can be passed via POST. <a href="http://support.microsoft.com/kb/208427" rel="noreferrer">Reference.</a></li>\n</ul>\n\n<p>Disadvantages of POST:</p>\n\n<ul>\n<li>Page that used POST data cannot be bookmark. (If you so desired.) </li>\n</ul>\n\n<h2>Longer Version</h2>\n\n<p>Directly from the <a href="http://www.w3.org/Protocols/rfc2616/rfc2616.html" rel="noreferrer">Hypertext Transfer Protocol -- HTTP/1.1</a>:</p>\n\n<blockquote>\n  <h3>9.3 GET</h3>\n  \n  <p>The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI. If the Request-URI refers to a data-producing process, it is the produced data which shall be returned as the entity in the response and not the source text of the process, unless that text happens to be the output of the process. </p>\n  \n  <p>The semantics of the GET method change to a "conditional GET" if the request message includes an If-Modified-Since, If-Unmodified-Since, If-Match, If-None-Match, or If-Range header field. A conditional GET method requests that the entity be transferred only under the circumstances described by the conditional header field(s). The conditional GET method is intended to reduce unnecessary network usage by allowing cached entities to be refreshed without requiring multiple requests or transferring data already held by the client. </p>\n  \n  <p>The semantics of the GET method change to a "partial GET" if the request message includes a Range header field. A partial GET requests that only part of the entity be transferred, as described in section 14.35. The partial GET method is intended to reduce unnecessary network usage by allowing partially-retrieved entities to be completed without transferring data already held by the client. </p>\n  \n  <p>The response to a GET request is cacheable if and only if it meets the requirements for HTTP caching described in section 13. </p>\n  \n  <p>See section 15.1.3 for security considerations when used for forms. </p>\n  \n  <h3>9.5 POST</h3>\n  \n  <p>The POST method is used to request that the origin server accept the\n  entity enclosed in the request as a new subordinate of the resource\n  identified by the Request-URI in the Request-Line. POST is designed\n  to allow a uniform method to cover the following functions:</p>\n  \n  <ul>\n  <li><p>Annotation of existing resources;</p></li>\n  <li><p>Posting a message to a bulletin board, newsgroup, mailing list,\n  or similar group of articles;</p></li>\n  <li><p>Providing a block of data, such as the result of submitting a\n  form, to a data-handling process;</p></li>\n  <li><p>Extending a database through an append operation.</p></li>\n  </ul>\n  \n  <p>The actual function performed by the POST method is determined by the\n  server and is usually dependent on the Request-URI. The posted entity\n  is subordinate to that URI in the same way that a file is subordinate\n  to a directory containing it, a news article is subordinate to a\n  newsgroup to which it is posted, or a record is subordinate to a\n  database.</p>\n  \n  <p>The action performed by the POST method might not result in a\n  resource that can be identified by a URI. In this case, either 200\n  (OK) or 204 (No Content) is the appropriate response status,\n  depending on whether or not the response includes an entity that\n  describes the result.</p>\n</blockquote>\n'}, {'answer_id': 2267837, 'author': 'ceejayoz', 'author_id': 1902010, 'author_profile': 'https://Stackoverflow.com/users/1902010', 'pm_score': 3, 'selected': False, 'text': "<p>One practical difference is that browsers and webservers have a limit on the number of characters that can exist in a URL. It's different from application to application, but it's certainly possible to hit it if you've got <code>textarea</code>s in your forms.</p>\n\n<p>Another gotcha with GETs - they get indexed by search engines and other automatic systems. Google once had a product that would pre-fetch links on the page you were viewing, so they'd be faster to load if you clicked those links. It caused <strong>major</strong> havoc on sites that had links like <code>delete.php?id=1</code> - people lost their entire sites.</p>\n"}, {'answer_id': 2267841, 'author': 'Pascal MARTIN', 'author_id': 138475, 'author_profile': 'https://Stackoverflow.com/users/138475', 'pm_score': 5, 'selected': False, 'text': '<p>The first important thing is the <em>meaning</em> of GET versus POST :</p>\n\n<ul>\n<li>GET should be used to... get... some information <strong>from</strong> the server,</li>\n<li>while POST should be used to send some information <strong>to</strong> the server.</li>\n</ul>\n\n<p><br>\nAfter that, a couple of things that can be noted :</p>\n\n<ul>\n<li>Using GET, your users can use the "back" button in their browser, and they can bookmark pages</li>\n<li>There is a limit in the size of the parameters you can pass as GET <em>(2KB for some versions of Internet Explorer, if I\'m not mistaken)</em> ; the limit is much more for POST, and generally depends on the server\'s configuration.</li>\n</ul>\n\n<p><br>\nAnyway, I don\'t think we could "live" without GET : think of how many URLs you are using with parameters in the query string, every day -- without GET, all those wouldn\'t work ;-)</p>\n'}, {'answer_id': 2267843, 'author': 'Plynx', 'author_id': 254441, 'author_profile': 'https://Stackoverflow.com/users/254441', 'pm_score': 0, 'selected': False, 'text': '<p>Another difference is that POST generally requires two HTTP operations, whereas GET only requires one.</p>\n\n<p>Edit: I should clarify--for common programming patterns. Generally responding to a POST with a straight up HTML web page is a questionable design for a variety of reasons, one of which is the annoying "you must resubmit this form, do you wish to do so?" on pressing the back button.</p>\n'}, {'answer_id': 2267844, 'author': 'cherouvim', 'author_id': 72478, 'author_profile': 'https://Stackoverflow.com/users/72478', 'pm_score': 2, 'selected': False, 'text': '<p>POST can move large data while GET cannot.</p>\n\n<p>But generally it\'s not about a shortcomming of GET, rather a convention if you want your website/webapp to be behaving nicely.</p>\n\n<p>Have a look at <a href="http://www.w3.org/2001/tag/doc/whenToUseGet.html" rel="nofollow noreferrer">http://www.w3.org/2001/tag/doc/whenToUseGet.html</a></p>\n'}, {'answer_id': 2267847, 'author': 'Mark Byers', 'author_id': 61974, 'author_profile': 'https://Stackoverflow.com/users/61974', 'pm_score': 4, 'selected': False, 'text': '<p>Apart from the length constraints difference in many web browsers, there is also a semantic difference. GETs are supposed to be "safe" in that they are read-only operations that don\'t change the server state. POSTs will typically change state and will give warnings on resubmission. Search engines\' web crawlers may make GETs but should never make POSTs.</p>\n\n<p>Use GET if you want to read data without changing state, and use POST if you want to update state on the server.</p>\n'}, {'answer_id': 2267848, 'author': 'prodigitalson', 'author_id': 215966, 'author_profile': 'https://Stackoverflow.com/users/215966', 'pm_score': 0, 'selected': False, 'text': '<p>Well one major thing is anything you submit over <code>GET</code> is going to be exposed via the URL. Secondly as Ceejayoz says, there is a limit on characters for a URL. </p>\n'}, {'answer_id': 2267861, 'author': 'mythz', 'author_id': 85785, 'author_profile': 'https://Stackoverflow.com/users/85785', 'pm_score': -1, 'selected': False, 'text': "<p>HTTP Post data doesn't have a specified limit on the amount of data, where as different browsers have different limits for GET's. The RFC 2068 states:</p>\n\n<blockquote>\n  <p>Servers should be cautious about\n  depending on URI lengths above 255\n  bytes, because some older client or\n  proxy implementations may not properly\n  support these lengths</p>\n</blockquote>\n\n<p>Specifically you should the right HTTP constructs for what they're used for. HTTP GET's shouldn't have side-effects and can be safely refreshed and stored by HTTP Proxies, etc.</p>\n\n<p>HTTP POST's are used when you want to submit data against a url resource.</p>\n\n<p>A typical example for using HTTP GET is on a Search, i.e. Search?Query=my+query\nA typical example for using a HTTP POST is submitting feedback to an online form.</p>\n"}, {'answer_id': 2267868, 'author': 'Gili', 'author_id': 14731, 'author_profile': 'https://Stackoverflow.com/users/14731', 'pm_score': 2, 'selected': False, 'text': "<p>There is nothing you can't do per-se. The point is that you're not <em>supposed</em> to modify the server state on an HTTP GET. HTTP proxies assume that since HTTP GET does not modify the state then whether a user invokes HTTP GET one time or 1000 times makes no difference. Using this information they assume it is safe to return a cached version of the first HTTP GET. If you break the HTTP specification you risk breaking HTTP client and proxies in the wild. Don't do it :)</p>\n"}, {'answer_id': 2267871, 'author': 'Dmytro', 'author_id': 263321, 'author_profile': 'https://Stackoverflow.com/users/263321', 'pm_score': 2, 'selected': False, 'text': '<p>From <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html" rel="nofollow noreferrer">RFC 2616</a>:</p>\n\n<blockquote>\n  <p>9.3 <strong>GET</strong> <br/>\n  The GET method means retrieve whatever information (in the form of\n  an entity) is identified by the\n  Request-URI. If the Request-URI refers\n  to a data-producing process, it is the\n  produced data which shall be returned\n  as the entity in the response and not\n  the source text of the process, unless\n  that text happens to be the output of\n  the process.</p>\n</blockquote>\n\n<p><br/></p>\n\n<blockquote>\n  <p>9.5 <strong>POST</strong><br/> The POST method is used to request that the origin server\n  accept the entity enclosed in the\n  request as a new subordinate of the\n  resource identified by the Request-URI\n  in the Request-Line. POST is designed\n  to allow a uniform method to cover the\n  following functions: </p>\n  \n  <ul>\n  <li>Annotation of existing resources;</li>\n  <li>Posting a message to a bulletin board, newsgroup, mailing list, or\n  similar group of articles;</li>\n  <li>Providing a block of data, such as the result of submitting a form, to a\n  data-handling process;</li>\n  <li>Extending a database through an append operation.</li>\n  </ul>\n  \n  <p>The actual function performed by the\n  POST method is determined by the\n  server and is usually dependent on the\n  Request-URI. The posted entity is\n  subordinate to that URI in the same\n  way that a file is subordinate to a\n  directory containing it, a news\n  article is subordinate to a newsgroup\n  to which it is posted, or a record is\n  subordinate to a database. </p>\n  \n  <p>The action performed by the POST\n  method might not result in a resource\n  that can be identified by a URI. In\n  this case, either 200 (OK) or 204 (No\n  Content) is the appropriate response\n  status, depending on whether or not\n  the response includes an entity that\n  describes the result.</p>\n</blockquote>\n'}, {'answer_id': 2267879, 'author': 'Gordon', 'author_id': 208809, 'author_profile': 'https://Stackoverflow.com/users/208809', 'pm_score': 1, 'selected': False, 'text': '<p>Read the <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol" rel="nofollow noreferrer">article about HTTP in the Wikipedia</a>. It will explain what the protocol is and what it does:</p>\n\n<blockquote>\n  <p><strong>GET</strong>  </p>\n  \n  <p>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. </p>\n</blockquote>\n\n<p>and </p>\n\n<blockquote>\n  <p><strong>POST</strong>\n  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.</p>\n</blockquote>\n\n<p>The W3C has a document named <a href="http://www.w3.org/2001/tag/doc/whenToUseGet.html" rel="nofollow noreferrer">URIs, Addressability, and the use of HTTP GET and POST</a> that explains when to use what. Citing </p>\n\n<blockquote>\n  <p>1.3 Quick Checklist for Choosing HTTP GET or POST</p>\n  \n  <ul>\n  <li>Use GET if:\n  \n  <ul>\n  <li>The interaction is more like a question (i.e., it is a \n  safe operation such as a query, read operation, or lookup).</li>\n  </ul></li>\n  </ul>\n</blockquote>\n\n<p>and</p>\n\n<blockquote>\n  <ul>\n  <li>Use POST if:\n  \n  <ul>\n  <li>The interaction is more like an order, or</li>\n  <li>The interaction changes the state of the resource in a way that the user would perceive (e.g., a subscription to a service), or\n    o The user be held accountable for the results of the interaction.</li>\n  </ul></li>\n  </ul>\n  \n  <p>However, before the final decision to use HTTP GET or POST, please also consider considerations for sensitive data and practical considerations.</p>\n</blockquote>\n\n<p>A practial example would be whenever you submit an HTML form. You specify either <em>post</em> or <em>get</em> for the form action. PHP will populate $_GET and $_POST accordingly.</p>\n'}, {'answer_id': 2268041, 'author': 'Elizabeth Buckwalter', 'author_id': 167034, 'author_profile': 'https://Stackoverflow.com/users/167034', 'pm_score': 0, 'selected': False, 'text': "<p>As answered by others, there's a limit on url size with get, and files can be submitted with post only.</p>\n\n<p>I'd like to add that one <b>can</b> add things to a database with a get and perform actions with a post.  When a script receives a post or a get, it can do whatever the author wants it to do.  I believe the lack of understanding comes from the wording the book chose or how you read it.</p>\n\n<p>A script author <b>should</b> use posts to change the database and use get only for retrieval of information.  </p>\n\n<p>Scripting languages provided many means with which to access the request.  For example, PHP allows the use of <code>$_REQUEST</code> to retrieve either a post or a get.  One should avoid this in favor of the more specific <code>$_GET</code> or <code>$_POST</code>.</p>\n\n<p>In web programming, there's a lot more room for interpretation.  There's what one <b>should</b> and what one <b>can</b> do, but which one is better is often up for debate.  Luckily, in this case, there is no ambiguity.  You <b>should</b> use posts to change data, and you <b>should</b> use get to retrieve information.</p>\n"}, {'answer_id': 2268326, 'author': 'jellyfishtree', 'author_id': 273632, 'author_profile': 'https://Stackoverflow.com/users/273632', 'pm_score': 1, 'selected': False, 'text': '<p>In PHP, <code>POST</code> data limit is usually set by your <code>php.ini</code>. <code>GET</code> is limited by server/browser settings I believe - usually around <code>255</code> bytes.</p>\n'}, {'answer_id': 18511298, 'author': 'Anagha', 'author_id': 2063953, 'author_profile': 'https://Stackoverflow.com/users/2063953', 'pm_score': 3, 'selected': False, 'text': '<p>1.3 Quick Checklist for Choosing HTTP <code>GET</code> or <code>POST</code></p>\n<h1>Use GET if:</h1>\n<pre><code>    The interaction is more like a question (i.e., it is a safe operation such as a query, read operation, or lookup).\n</code></pre>\n<h1>Use POST if:</h1>\n<pre><code>    The interaction is more like an order, or\n    The interaction changes the state of the resource in a way that the user would perceive (e.g., a subscription to a service), or\n    The user be held accountable for the results of the interaction.\n</code></pre>\n<p><a href="http://www.w3.org/2001/tag/doc/whenToUseGet.html#checklist" rel="nofollow noreferrer">Source</a>.</p>\n'}, {'answer_id': 33962313, 'author': 'Rajesh', 'author_id': 2632634, 'author_profile': 'https://Stackoverflow.com/users/2632634', 'pm_score': -1, 'selected': False, 'text': '<p>Simple version of POST GET PUT DELETE</p>\n\n<ul>\n<li>use  GET - when you want to get any resource like List of data based on any Id or Name</li>\n<li>use POST - when you want to send any data to server. keep in mind POST is heavy weight operation because for updation we should use PUT instead of POST\ninternally POST will create new resource</li>\n<li>use PUT - when you</li>\n</ul>\n'}, {'answer_id': 35970239, 'author': 'Madhusudhan Reddy', 'author_id': 5110404, 'author_profile': 'https://Stackoverflow.com/users/5110404', 'pm_score': 1, 'selected': False, 'text': '<p>From <a href="http://www.w3schools.com/tags/ref_httpmethods.asp" rel="nofollow noreferrer">w3schools.com</a>:</p>\n\n<blockquote>\n  <p>What is HTTP?</p>\n  \n  <p>The Hypertext Transfer Protocol (HTTP) is designed to enable\n  communications between clients and servers.</p>\n  \n  <p>HTTP works as a request-response protocol between a client and server.</p>\n  \n  <p>A web browser may be the client, and an application on a computer that\n  hosts a web site may be the server.</p>\n  \n  <p>Example: A client (browser) submits an HTTP request to the server;\n  then the server returns a response to the client. The response\n  contains status information about the request and may also contain the\n  requested content.</p>\n  \n  <p>Two HTTP Request Methods: GET and POST</p>\n  \n  <p>Two commonly used methods for a request-response between a client and\n  server are: GET and POST.</p>\n  \n  <p>GET – Requests data from a specified resource POST – Submits data to\n  be processed to a specified resource</p>\n</blockquote>\n\n<p>Here we distinguish the major differences:</p>\n\n<p><img src="https://i.stack.imgur.com/2ELRX.jpg" alt="enter image description here"></p>\n'}]
['https://Stackoverflow.com/questions/46585', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/572/']