<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>get and post method in java - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/get-and-post-method-in-java/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/get-and-post-method-in-java/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Thu, 04 Aug 2022 06:34:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>get and post method in java - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/get-and-post-method-in-java/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What is the difference between GET and POST Method ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/what-is-the-difference-between-get-and-post-method/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/what-is-the-difference-between-get-and-post-method/#respond</comments>
		
		<dc:creator><![CDATA[webmaster]]></dc:creator>
		<pubDate>Thu, 04 Aug 2022 06:33:30 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[difference between get and post in rest api]]></category>
		<category><![CDATA[difference between get and post method in html with example]]></category>
		<category><![CDATA[get and post method difference in java]]></category>
		<category><![CDATA[get and post method example]]></category>
		<category><![CDATA[get and post method in java]]></category>
		<category><![CDATA[get and post method in php]]></category>
		<category><![CDATA[get method]]></category>
		<category><![CDATA[what is the difference between get and post method]]></category>
		<category><![CDATA[what is the difference between get and post method in html]]></category>
		<category><![CDATA[what is the difference between get and post method in java]]></category>
		<category><![CDATA[what is the difference between get and post method in javascript]]></category>
		<category><![CDATA[what is the difference between get and post method in php]]></category>
		<category><![CDATA[what is the difference between get and post method in rest api]]></category>
		<category><![CDATA[what is the difference between get and post method in web api]]></category>
		<category><![CDATA[what is the difference between get and post method mcq]]></category>
		<category><![CDATA[what is the difference between get and post methods in html discuss]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=4576</guid>

					<description><![CDATA[                        GET                          POST In browser history parameters remain because they are the part of the URL In browser history parameters remain because they are the part of the URL It can be bookmarked It cannot be bookmarked If the HTML is stored in the browser cache, GET requests are re-executed but may [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-4578 aligncenter" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/08/get-post-method.png" alt="" width="956" height="526" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/08/get-post-method.png 956w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/08/get-post-method-300x165.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/08/get-post-method-768x423.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/08/get-post-method-390x215.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/08/get-post-method-820x451.png 820w" sizes="(max-width: 956px) 100vw, 956px" /></p>
<table width="0">
<tbody>
<tr>
<td width="335"><strong> </strong></p>
<p><strong>                      GET </strong></td>
<td width="335"><strong> </strong></p>
<p><strong>                       POST</strong></td>
</tr>
<tr>
<td width="335">In browser history parameters remain because they are the part of the URL</td>
<td width="335">In browser history parameters remain because they are the part of the URL</td>
</tr>
<tr>
<td width="335">It can be bookmarked</td>
<td width="335">It cannot be bookmarked</td>
</tr>
<tr>
<td width="335">If the HTML is stored in the browser cache, GET requests are re-executed but may not be re-submitted to server</p>
<p>&nbsp;</td>
<td width="335">The browser alerts the user that data will need to be re-submitted</td>
</tr>
<tr>
<td width="335">It can send but the parameter data is limited to what we can stuff into the URL</td>
<td width="335">It can send parameters, including uploading files to the server</td>
</tr>
<tr>
<td width="335">Hacking becomes easier for script kiddies</td>
<td width="335">Hacking becomes more difficult</td>
</tr>
<tr>
<td width="335">There is restriction on form data type, only ASCII characters allowed</td>
<td width="335">There is no restrictions. Binary data is also allowed</td>
</tr>
<tr>
<td width="335"><a href="https://www.wikitechy.com/php/php-get">PHP GET</a> method is less secure than POST because data sent is part of the URL. So, its saved in browser history or server logs in plaintext</td>
<td width="335"><a href="https://www.wikitechy.com/php/php-post">PHP POST</a> is little safer than GET because the parameters are not stored in browser history or web- server logs</td>
</tr>
<tr>
<td width="335">There are restrictions on form data length</td>
<td width="335">There are no restrictions on form data length</td>
</tr>
<tr>
<td width="335">GET method should not be used while sending passwords or other sensitive information</td>
<td width="335">POST method used when sending passwords or other sensitive information.</td>
</tr>
<tr>
<td width="335">GET method is visible to everyone in address bar and it has limits on amount of information to send</td>
<td width="335">POST method variables are not displayed in the URL</td>
</tr>
<tr>
<td width="335">It can be cached</td>
<td width="335">It cannot be cached</td>
</tr>
</tbody>
</table>
<p><img decoding="async" class="alignnone size-full wp-image-4577 aligncenter" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/08/get-method.gif" alt="" width="1920" height="1080" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/what-is-the-difference-between-get-and-post-method/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Difference Between Get and Post Method in PHP ?</title>
		<link>https://www.wikitechy.com/interview-questions/php/difference-between-get-and-post-method-in-php/</link>
					<comments>https://www.wikitechy.com/interview-questions/php/difference-between-get-and-post-method-in-php/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Wed, 21 Jul 2021 13:30:53 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[3i Infotech Limited interview questions and answers]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Brillio Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Cactus Communications interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[CSG International interview questions and answers]]></category>
		<category><![CDATA[Cybage interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[dget and post]]></category>
		<category><![CDATA[diff between get and post]]></category>
		<category><![CDATA[difference between get and post]]></category>
		<category><![CDATA[difference between get and post in html]]></category>
		<category><![CDATA[difference between get and post in java]]></category>
		<category><![CDATA[difference between get and post in php]]></category>
		<category><![CDATA[difference between get and post method]]></category>
		<category><![CDATA[difference between get and post method in htm]]></category>
		<category><![CDATA[difference between get and post method in java]]></category>
		<category><![CDATA[difference between get and post method in php]]></category>
		<category><![CDATA[difference between get and post method in php with example]]></category>
		<category><![CDATA[difference between get and post request]]></category>
		<category><![CDATA[difference between http get and post]]></category>
		<category><![CDATA[difference get and post]]></category>
		<category><![CDATA[example of get and post method]]></category>
		<category><![CDATA[example of get and post method in php]]></category>
		<category><![CDATA[geekyants interview questions and answers]]></category>
		<category><![CDATA[get and post difference]]></category>
		<category><![CDATA[get and post examples]]></category>
		<category><![CDATA[get and post in php]]></category>
		<category><![CDATA[get and post metho]]></category>
		<category><![CDATA[get and post method in c#]]></category>
		<category><![CDATA[get and post method in html]]></category>
		<category><![CDATA[get and post method in html examples]]></category>
		<category><![CDATA[get and post method in java]]></category>
		<category><![CDATA[get and post method in php]]></category>
		<category><![CDATA[get and post request]]></category>
		<category><![CDATA[Harbinger Systems interview questions and answers]]></category>
		<category><![CDATA[html get and post]]></category>
		<category><![CDATA[html get and post example]]></category>
		<category><![CDATA[http get and post]]></category>
		<category><![CDATA[http get and post method]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Info Edge interview questions and answers]]></category>
		<category><![CDATA[Infogain interview questions and answers]]></category>
		<category><![CDATA[javascript get and post]]></category>
		<category><![CDATA[Maintec Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Net Solutions interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Raqmiyat Information Technologies Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Sopra Steria interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[ValueLabs interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[what is get and post]]></category>
		<category><![CDATA[what is get and post method]]></category>
		<category><![CDATA[what is the difference between get and post]]></category>
		<category><![CDATA[what is the difference between get and post method]]></category>
		<category><![CDATA[when to use get and post]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1148</guid>

					<description><![CDATA[Answer : GET requests can be cached...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="difference-between-get-and-post-method-in-php" class="color-pink">Difference Between Get and Post Method in PHP ?</h2>
</div>
</div>
<div class="table-responsive">
<div class="hddn">
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th><a href="https://www.wikitechy.com/php/php-get" target="_blank" rel="noopener">$_GET Method</a></th>
<th><a href="https://www.wikitechy.com/php/php-post" target="_blank" rel="noopener">$_POST Method</a></th>
</tr>
<tr>
<td class="text-leftalign">GET requests can be cached.</td>
<td class="text-leftalign">POST requests are never cached.</td>
</tr>
<tr>
<td class="text-leftalign">GET requests remain in the browser history.</td>
<td class="text-leftalign">POST requests do not remain in the browser history.</td>
</tr>
<tr>
<td class="text-leftalign">Easier to hack for script kiddies.</td>
<td class="text-leftalign">More difficult to hack.</td>
</tr>
<tr>
<td class="text-leftalign">Restrictions on form data type. Only ASCII characters<br />
allowed.</td>
<td class="text-leftalign">No restrictions. Binary data is also allowed.</td>
</tr>
<tr>
<td class="text-leftalign">GET requests can be bookmarked.</td>
<td class="text-leftalign">POST requests cannot be bookmarked.</td>
</tr>
<tr>
<td class="text-leftalign">GET is less secure compared to POST because data sent<br />
is part of the URL. So it&#8217;s saved in browser history<br />
and server logs in plaintext.</td>
<td class="text-leftalign">POST is a little safer than GET because the parameters are not stored in browser history or in web server logs.</td>
</tr>
<tr>
<td class="text-leftalign">GET requests have length limitations.</td>
<td class="text-leftalign">POST requests have no limitations on data length .</td>
</tr>
<tr>
<td class="text-leftalign">GET method should not be used when<br />
sending passwords or other sensitive data.<br />
GET requests is only used to request data (not modify).</td>
<td class="text-leftalign">POST method used when sending passwords or other sensitive data.</td>
</tr>
<tr>
<td class="text-leftalign">
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code" class="color-purple">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt; <br/>&lt;html lang=&quot;en&quot;&gt; <br/>&lt;head&gt;<br/> &lt;title&gt;Example of PHP GET method&lt;/title&gt; <br/>&lt;/head&gt; <br/>&lt;body&gt; <br/>&lt;?php<br/> if(isset($_GET[&quot;name&quot;])){<br/> echo &quot;&lt;p&gt;Hi, &quot; . $_GET[&quot;name&quot;] . &quot;&lt;/p&gt;&quot;; <br/>} ?&gt;<br/> &lt;form method=&quot;get&quot; action=&quot;&lt;?<br/>php echo $_SERVER[&quot;PHP_SELF&quot;];?&gt;&quot;&gt;<br/> &lt;label for=&quot;inputName&quot;&gt;Name:&lt;/label&gt; <br/>&lt;input type=&quot;text&quot; name=&quot;name&quot; id=&quot;inputName&quot;&gt;<br/> &lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt; <br/>&lt;/form&gt; <br/>&lt;/body&gt;</code></pre> </div>
</div>
</div>
<div class="CodeContent">
<div class="hddn"></div>
</div>
</td>
<td class="text-leftalign">
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code-2" class="color-purple">Sample Code</h2>
</div>
</div>
<div class="CodeContent">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt; <br/>&lt;html lang=&quot;en&quot;&gt;<br/> &lt;head&gt; <br/>&lt;title&gt;Example of PHP POST method&lt;/title&gt;<br/> &lt;/head&gt; &lt;body&gt; <br/>&lt;?php <br/>if(isset($_POST[&quot;name&quot;])){ <br/>echo &quot;&lt;p&gt;Hi, &quot; . $_POST[&quot;name&quot;] . &quot;&lt;/p&gt;&quot;; } <br/>?&gt; <br/>&lt;form method=&quot;post&quot; action=&quot;<br/>&lt;?php echo $_SERVER[&quot;PHP_SELF&quot;];?<br/>&gt;&quot;&gt; <br/>&lt;label for=&quot;inputName&quot;&gt;Name:&lt;/label&gt; <br/>&lt;input type=&quot;text&quot; name=&quot;name&quot; id=&quot;inputName&quot;&gt;<br/> &lt;input type=&quot;submit&quot; value=&quot;Submit&quot;&gt;<br/> &lt;/form&gt;<br/> &lt;/body&gt;</code></pre> </div></figure>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/php/difference-between-get-and-post-method-in-php/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
