<?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/"
	 xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>parameters &#8211; AnonyViet &#8211; English Version</title>
	<atom:link href="https://en.anonyviet.com/tag/parameters/feed/" rel="self" type="application/rss+xml" />
	<link>https://en.anonyviet.com</link>
	<description>The most popular website for sharing information technology, computer networks, and security knowledge. Stay up to date with the hottest news and tips</description>
	<lastBuildDate>Fri, 13 Jan 2023 22:07:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>

<image>
	<url>https://en.anonyviet.com/wp-content/uploads/2023/01/cropped-ico-logo-75x75-1.png</url>
	<title>parameters &#8211; AnonyViet &#8211; English Version</title>
	<link>https://en.anonyviet.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How parameters need to be known when using the Curl . command</title>
		<link>https://en.anonyviet.com/how-parameters-need-to-be-known-when-using-the-curl-command/</link>
					<comments>https://en.anonyviet.com/how-parameters-need-to-be-known-when-using-the-curl-command/#respond</comments>
		
		<dc:creator><![CDATA[AnonyViet]]></dc:creator>
		<pubDate>Fri, 13 Jan 2023 22:07:50 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[Curl]]></category>
		<category><![CDATA[parameters]]></category>
		<guid isPermaLink="false">https://en.anonyviet.com/?p=1280</guid>

					<description><![CDATA[curl is a command to transfer data to or from a server, using any supported protocol (HTTP, FTP, IMAP, POP3, SCP, SFTP, SMTP, TFTP, TELNET, LDAP, or FILE). curl is provided by Libcurl. This tool is preferred for automation as it is designed to work without user interaction. curl can transfer multiple files at once. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p></p>
<div id="ftwp-postcontent">
<p>curl is a command to transfer data to or from a server, using any supported protocol (HTTP, FTP, IMAP, POP3, SCP, SFTP, SMTP, TFTP, TELNET, LDAP, or FILE).  curl is provided by Libcurl.  This tool is preferred for automation as it is designed to work without user interaction.  curl can transfer multiple files at once.</p>
<div class="code-block code-block-16" style="margin: 8px 0; clear: both;">
<div align="center">
<table class=" aligncenter" style="background-color: #c0c0c0; border-collapse: collapse; width: 59.9985%;">
<tbody>
<tr>
<td style="width: 100%; text-align: center;"><span style="font-size: 12pt;"><strong>Join the channel <span style="color: #0000ff;">Telegram</span> of the <span style="color: #008080;">AnonyViet </span> 👉 <span style="text-decoration: underline;"><a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Ft.me%2Fanonyvietchat" class="local-link" rel="noopener">Link</a></span>  👈</strong></span></td>
</tr>
</tbody>
</table>
</div>
</div>
<p>Command <code>curl</code> can be used directly or Windows CMD or Linux Terminal without installing additional support packages.</p>
<p>I often use Curl for quick testing <a target="_blank" href="https://en.anonyviet.com/next-link?url=https%3A%2F%2Fanonyviet.com%2Fscript-tu-dong-khoi-dong-nginx-mariadb-php-khi-web-loi-502-bad-gateway%2F" rel="noopener" class="local-link">Website&#8217;s status</a> or download the source code without having to use the browser.</p>
<p><img post-id="1280" fifu-featured="1" fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-43228" src="https://anonyviet.com/wp-content/uploads/2022/08/curl-la-gi-1-1.jpg" alt="How parameters need to be known when using the Curl . command" title="How parameters need to be known when using the Curl . command" width="559" height="314" srcset="https://anonyviet.com/wp-content/uploads/2022/08/curl-la-gi-1-1.jpg 559w, https://anonyviet.com/wp-content/uploads/2022/08/curl-la-gi-1-1-300x169.jpg 300w" sizes="(max-width: 559px) 100vw, 559px" title="How parameters need to be known when using the Curl 6 . command"/></p>
<h2 id="ftoc-su-dung-curl-voi-website-co-giao-thuc-https" class="ftwp-heading">Using Curl with Websites with https protocol</h2>
<p>If you want to download the Website using https with the curl command, you will get an error:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.</pre>
<p>So let&#8217;s add the parameter <code>-k</code> into the.<br />Eg: <code>curl -k https://anonyviet.com</code></p>
<h2 id="ftoc-them-referrer-voi-lenh-curl" class="ftwp-heading">Add Referrer with Curl . command</h2>
<p>If you want to access the Website with the Curl command with a Referrer, use the parameter <code>--referer</code></p>
<p>Eg: <code>curl --referer 'https://google.com' -k https://anonyviet.com</code></p>
<h2 id="ftoc-them-referrer-rong-voi-lenh-curl" class="ftwp-heading">Add empty Referrer with Curl . command</h2>
<p>Use 2 single strokes in a row <code>''</code></p>
<p>Eg: <code>curl --referer '' -k https://anonyviet.com</code></p>
<h2 id="ftoc-them-user-agent-voi-lenh-curl" class="ftwp-heading">Add User-Agent with Curl . command</h2>
<p>User-Agent helps Webserver identify the device, browser you are accessing the Web site.  To use the User-Agent with the curl command, add the parameter <code>--user-agent</code></p>
<p>Put the user-agent in double quotes <code>""</code></p>
<p>Eg: <code>curl --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_0) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.65 Safari/535.11" -k https://anonyviet.com</code></p>
<h2 id="ftoc-them-user-agent-rong-voi-lenh-curl" class="ftwp-heading">Add empty User-Agent with Curl . command</h2>
<p>Use 2 double quotes or 2 consecutive single quotes</p>
<p>Eg: <code>curl --user-agent "" -k https://anonyviet.com</code> or</p>
<p><code>curl --user-agent '' -k https://anonyviet.com</code></p>
<div class="kk-star-ratings kksr-auto kksr-align-right kksr-valign-bottom" data-payload="{&quot;align&quot;:&quot;right&quot;,&quot;id&quot;:&quot;43227&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;101&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;\u0110\u00e1nh gi\u00e1 b\u00e0i vi\u1ebft post&quot;,&quot;legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: 5\/5 - (101 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;B\u00e0i vi\u1ebft \u0111\u1ea1t: {score}\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}">
<p>            The article achieved: 5/5 &#8211; (101 votes)    </p>
</p></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://en.anonyviet.com/how-parameters-need-to-be-known-when-using-the-curl-command/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<media:content url="https://anonyviet.com/wp-content/uploads/2022/08/curl-la-gi-1-1.jpg" medium="image"></media:content>
            	</item>
	</channel>
</rss>
