<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Curl</id>
	<title>Curl - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Curl"/>
	<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Curl&amp;action=history"/>
	<updated>2026-05-15T09:16:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=Curl&amp;diff=277&amp;oldid=prev</id>
		<title>Ardika Sulistija at 19:57, 26 November 2024</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Curl&amp;diff=277&amp;oldid=prev"/>
		<updated>2024-11-26T19:57:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:57, 26 November 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l242&quot;&gt;Line 242:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 242:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you just want the HTTP status code:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If you just want the HTTP status code:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  curl https://dikapediav2.com -o /dev/null -w &amp;#039;%{http_code}\n&amp;#039; -s&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  curl https://dikapediav2.com -o /dev/null -w &amp;#039;%{http_code}\n&amp;#039; -s&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; # To follow redirects:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; curl -L https://dikapediav2.com -o /dev/null -w &#039;%{http_code}\n&#039; -s&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Other commands====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Other commands====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=Curl&amp;diff=276&amp;oldid=prev</id>
		<title>Ardika Sulistija at 19:55, 26 November 2024</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Curl&amp;diff=276&amp;oldid=prev"/>
		<updated>2024-11-26T19:55:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:55, 26 November 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l238&quot;&gt;Line 238:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 238:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   Transfer Time:0.528630&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   Transfer Time:0.528630&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   Download Size:230&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   Download Size:230&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If you just want the HTTP status code:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; curl https://dikapediav2.com -o /dev/null -w &#039;%{http_code}\n&#039; -s&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Other commands====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Other commands====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=Curl&amp;diff=48&amp;oldid=prev</id>
		<title>Ardika Sulistija: Created page with &quot;  &lt;b&gt;curl&lt;/b&gt; - transfers a URL. Or make HTTP requests (or HTTPS, FTP, FTPS, SCP, SFTP, TFTP, DICT, TELENET, LDAP or FILE).    https://www.thegeekstuff.com/2012/04/curl-examples/ ----   * Useful for testing web servers at the application level, testing an application&#039;s endpoint or connectivity, or checking if a service is healthy.  * HTTP uses TCP so if curl works then TCP (and lower levels) must be working, too.  Can be used in many different ways: * Designed to work wi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=Curl&amp;diff=48&amp;oldid=prev"/>
		<updated>2024-08-21T14:45:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;  &amp;lt;b&amp;gt;curl&amp;lt;/b&amp;gt; - transfers a URL. Or make HTTP requests (or HTTPS, FTP, FTPS, SCP, SFTP, TFTP, DICT, TELENET, LDAP or FILE).    https://www.thegeekstuff.com/2012/04/curl-examples/ ----   * Useful for testing web servers at the application level, testing an application&amp;#039;s endpoint or connectivity, or checking if a service is healthy.  * HTTP uses TCP so if curl works then TCP (and lower levels) must be working, too.  Can be used in many different ways: * Designed to work wi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;curl&amp;lt;/b&amp;gt; - transfers a URL. Or make HTTP requests (or HTTPS, FTP, FTPS, SCP, SFTP, TFTP, DICT, TELENET, LDAP or FILE).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
https://www.thegeekstuff.com/2012/04/curl-examples/&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Useful for testing web servers at the application level, testing an application&amp;#039;s endpoint or connectivity, or checking if a service is healthy. &lt;br /&gt;
* HTTP uses TCP so if curl works then TCP (and lower levels) must be working, too.&lt;br /&gt;
&lt;br /&gt;
Can be used in many different ways:&lt;br /&gt;
* Designed to work without user interaction, making it excellent for automation. &lt;br /&gt;
* Offers proxy support, user authentication, FTP uploading, HTTP posting, SSL connections, cookies, file transfer resume, metalink and more.&lt;br /&gt;
* Download, upload, and manage files. &lt;br /&gt;
* Check email address&lt;br /&gt;
* Update your status on some social media websites, etc. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====My Top Curl Commands====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-I, --head&amp;lt;/br&amp;gt;&lt;br /&gt;
:(HTTP/FTP/FILE)  Fetch the HTTP-header only! HTTP-servers feature the command HEAD which this uses to get nothing but the header of a document. When used on an FTP or FILE file, curl displays the file size and last modification time only.&lt;br /&gt;
&lt;br /&gt;
 $ curl -I dikapedia.com&lt;br /&gt;
 HTTP/1.1 301 Moved Permanently&lt;br /&gt;
 Date: Thu, 30 Jan 2020 00:39:40 GMT&lt;br /&gt;
 Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 Location: https://dikapedia.com/&lt;br /&gt;
 Content-Type: text/html; charset=iso-8859-1&lt;br /&gt;
 &lt;br /&gt;
 $ curl -I google.com&lt;br /&gt;
 HTTP/1.1 301 Moved Permanently&lt;br /&gt;
 Location: http://www.google.com/&lt;br /&gt;
 Content-Type: text/html; charset=UTF-8&lt;br /&gt;
 Date: Thu, 30 Jan 2020 00:39:33 GMT&lt;br /&gt;
 Expires: Sat, 29 Feb 2020 00:39:33 GMT&lt;br /&gt;
 Cache-Control: public, max-age=2592000&lt;br /&gt;
 Server: gws&lt;br /&gt;
 Content-Length: 219&lt;br /&gt;
 X-XSS-Protection: 0&lt;br /&gt;
 X-Frame-Options: SAMEORIGIN&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-v, --verbose&amp;lt;/br&amp;gt;&lt;br /&gt;
:Makes  the  fetching more verbose/talkative. Mostly useful for debugging. A line starting with &amp;#039;&amp;gt;&amp;#039; means &amp;quot;header data&amp;quot; sent by curl, &amp;#039;&amp;lt;&amp;#039; means &amp;quot;header data&amp;quot; received by curl that is hidden in normal cases, and a line starting with &amp;#039;*&amp;#039; means additional info provided by curl.&lt;br /&gt;
&lt;br /&gt;
-L, --location&amp;lt;/br&amp;gt;&lt;br /&gt;
:(HTTP/HTTPS) If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option will make curl  redo  the request  on  the  new place. If used together with -i, --include or -I, --head, headers from all requested pages will be shown.&lt;br /&gt;
&lt;br /&gt;
$ curl -Iv&lt;br /&gt;
 $ curl -Iv dikapedia.com&lt;br /&gt;
 * About to connect() to dikapedia.com port 80 (#0)&lt;br /&gt;
 *   Trying 34.195.120.102...&lt;br /&gt;
 * Connected to dikapedia.com (34.195.120.102) port 80 (#0)&lt;br /&gt;
 &amp;gt; HEAD / HTTP/1.1&lt;br /&gt;
 &amp;gt; User-Agent: curl/7.29.0&lt;br /&gt;
 &amp;gt; Host: dikapedia.com&lt;br /&gt;
 &amp;gt; Accept: */*&lt;br /&gt;
 &amp;gt;&lt;br /&gt;
 &amp;lt; HTTP/1.1 301 Moved Permanently&lt;br /&gt;
 HTTP/1.1 301 Moved Permanently&lt;br /&gt;
 &amp;lt; Date: Thu, 30 Jan 2020 00:45:43 GMT&lt;br /&gt;
 Date: Thu, 30 Jan 2020 00:45:43 GMT&lt;br /&gt;
 &amp;lt; Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 &amp;lt; Location: https://dikapedia.com/&lt;br /&gt;
 Location: https://dikapedia.com/&lt;br /&gt;
 &amp;lt; Content-Type: text/html; charset=iso-8859-1&lt;br /&gt;
 Content-Type: text/html; charset=iso-8859-1&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&lt;br /&gt;
 * Connection #0 to host dikapedia.com left intact&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$ curl -IvL: &lt;br /&gt;
* Notice the 200 HTTP response at the end.&lt;br /&gt;
 $ curl -IvL dikapeida.com&lt;br /&gt;
 * Could not resolve host: dikapeida.com; Unknown error&lt;br /&gt;
 * Closing connection 0&lt;br /&gt;
 curl: (6) Could not resolve host: dikapeida.com; Unknown error&lt;br /&gt;
 [ec2-user@ip-172-31-0-84 ~]$ curl -IvL dikapedia.com&lt;br /&gt;
 * About to connect() to dikapedia.com port 80 (#0)&lt;br /&gt;
 *   Trying 34.195.120.102...&lt;br /&gt;
 * Connected to dikapedia.com (34.195.120.102) port 80 (#0)&lt;br /&gt;
 &amp;gt; HEAD / HTTP/1.1&lt;br /&gt;
 &amp;gt; User-Agent: curl/7.29.0&lt;br /&gt;
 &amp;gt; Host: dikapedia.com&lt;br /&gt;
 &amp;gt; Accept: */*&lt;br /&gt;
 &amp;gt;&lt;br /&gt;
 &amp;lt; HTTP/1.1 301 Moved Permanently &lt;br /&gt;
 HTTP/1.1 301 Moved Permanently&lt;br /&gt;
 &amp;lt; Date: Thu, 30 Jan 2020 00:46:24 GMT&lt;br /&gt;
 Date: Thu, 30 Jan 2020 00:46:24 GMT&lt;br /&gt;
 &amp;lt; Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 &amp;lt; Location: https://dikapedia.com/&lt;br /&gt;
 Location: https://dikapedia.com/&lt;br /&gt;
 &amp;lt; Content-Type: text/html; charset=iso-8859-1&lt;br /&gt;
 Content-Type: text/html; charset=iso-8859-1 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&lt;br /&gt;
 * Connection #0 to host dikapedia.com left intact&lt;br /&gt;
 * Issue another request to this URL: &amp;#039;https://dikapedia.com/&amp;#039;&lt;br /&gt;
 * Found bundle for host dikapedia.com: 0x1539f70&lt;br /&gt;
 * About to connect() to dikapedia.com port 443 (#1)&lt;br /&gt;
 *   Trying 34.195.120.102...&lt;br /&gt;
 * Connected to dikapedia.com (34.195.120.102) port 443 (#1) &lt;br /&gt;
 * Initializing NSS with certpath: sql:/etc/pki/nssdb&lt;br /&gt;
 *   CAfile: /etc/pki/tls/certs/ca-bundle.crt&lt;br /&gt;
   CApath: none&lt;br /&gt;
 * SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256&lt;br /&gt;
 * Server certificate:&lt;br /&gt;
 *       subject: CN=dikapedia.com&lt;br /&gt;
 *       start date: Jan 20 20:07:12 2020 GMT&lt;br /&gt;
 *       expire date: Apr 19 20:07:12 2020 GMT&lt;br /&gt;
 *       common name: dikapedia.com&lt;br /&gt;
 *       issuer: CN=Let&amp;#039;s Encrypt Authority X3,O=Let&amp;#039;s Encrypt,C=US&lt;br /&gt;
 &amp;gt; HEAD / HTTP/1.1&lt;br /&gt;
 &amp;gt; User-Agent: curl/7.29.0&lt;br /&gt;
 &amp;gt; Host: dikapedia.com&lt;br /&gt;
 &amp;gt; Accept: */*&lt;br /&gt;
 &amp;gt;&lt;br /&gt;
 &amp;lt; HTTP/1.1 302 Found&lt;br /&gt;
 HTTP/1.1 302 Found&lt;br /&gt;
 &amp;lt; Date: Thu, 30 Jan 2020 00:46:24 GMT&lt;br /&gt;
 Date: Thu, 30 Jan 2020 00:46:24 GMT&lt;br /&gt;
 &amp;lt; Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 &amp;lt; Location: https://dikapedia.com/wiki/&lt;br /&gt;
 Location: https://dikapedia.com/wiki/&lt;br /&gt;
 &amp;lt; Content-Type: text/html; charset=iso-8859-1&lt;br /&gt;
 Content-Type: text/html; charset=iso-8859-1 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&lt;br /&gt;
 * Connection #1 to host dikapedia.com left intact &lt;br /&gt;
 * Issue another request to this URL: &amp;#039;https://dikapedia.com/wiki/&amp;#039;&lt;br /&gt;
 * Found bundle for host dikapedia.com: 0x1539f70&lt;br /&gt;
 * Re-using existing connection! (#1) with host dikapedia.com&lt;br /&gt;
 * Connected to dikapedia.com (34.195.120.102) port 443 (#1)&lt;br /&gt;
 &amp;gt; HEAD /wiki/ HTTP/1.1&lt;br /&gt;
 &amp;gt; User-Agent: curl/7.29.0&lt;br /&gt;
 &amp;gt; Host: dikapedia.com&lt;br /&gt;
 &amp;gt; Accept: */*&lt;br /&gt;
 &amp;gt;&lt;br /&gt;
 &amp;lt; HTTP/1.1 301 Moved Permanently&lt;br /&gt;
 HTTP/1.1 301 Moved Permanently&lt;br /&gt;
 &amp;lt; Date: Thu, 30 Jan 2020 00:46:24 GMT&lt;br /&gt;
 Date: Thu, 30 Jan 2020 00:46:24 GMT&lt;br /&gt;
 &amp;lt; Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 &amp;lt; X-Powered-By: PHP/7.2.24&lt;br /&gt;
 X-Powered-By: PHP/7.2.24&lt;br /&gt;
 &amp;lt; X-Content-Type-Options: nosniff&lt;br /&gt;
 X-Content-Type-Options: nosniff&lt;br /&gt;
 &amp;lt; Vary: Accept-Encoding,Cookie&lt;br /&gt;
 Vary: Accept-Encoding,Cookie&lt;br /&gt;
 &amp;lt; Expires: Thu, 01 Jan 1970 00:00:00 GMT&lt;br /&gt;
 Expires: Thu, 01 Jan 1970 00:00:00 GMT&lt;br /&gt;
 &amp;lt; Cache-Control: private, must-revalidate, max-age=0&lt;br /&gt;
 Cache-Control: private, must-revalidate, max-age=0&lt;br /&gt;
 &amp;lt; Last-Modified: Thu, 30 Jan 2020 00:46:25 GMT&lt;br /&gt;
 Last-Modified: Thu, 30 Jan 2020 00:46:25 GMT&lt;br /&gt;
 &amp;lt; Location: http://dikapedia.com/wiki/index.php/All_Linux_Everythang~&lt;br /&gt;
 Location: http://dikapedia.com/wiki/index.php/All_Linux_Everythang~&lt;br /&gt;
 &amp;lt; Content-Type: text/html; charset=utf-8&lt;br /&gt;
 Content-Type: text/html; charset=utf-8 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&lt;br /&gt;
 * Connection #1 to host dikapedia.com left intact&lt;br /&gt;
 * Issue another request to this URL: &amp;#039;http://dikapedia.com/wiki/index.php/All_Linux_Everythang~&amp;#039;&lt;br /&gt;
 * Found bundle for host dikapedia.com: 0x1539f70 &lt;br /&gt;
 * Re-using existing connection! (#0) with host dikapedia.com&lt;br /&gt;
 * Connected to dikapedia.com (34.195.120.102) port 80 (#0)&lt;br /&gt;
 &amp;gt; HEAD /wiki/index.php/All_Linux_Everythang~ HTTP/1.1&lt;br /&gt;
 &amp;gt; User-Agent: curl/7.29.0&lt;br /&gt;
 &amp;gt; Host: dikapedia.com&lt;br /&gt;
 &amp;gt; Accept: */*&lt;br /&gt;
 &amp;gt;&lt;br /&gt;
 &amp;lt; HTTP/1.1 301 Moved Permanently&lt;br /&gt;
 HTTP/1.1 301 Moved Permanently&lt;br /&gt;
 &amp;lt; Date: Thu, 30 Jan 2020 00:46:25 GMT&lt;br /&gt;
 Date: Thu, 30 Jan 2020 00:46:25 GMT&lt;br /&gt;
 &amp;lt; Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 &amp;lt; Location: https://dikapedia.com/wiki/index.php/All_Linux_Everythang~&lt;br /&gt;
 Location: https://dikapedia.com/wiki/index.php/All_Linux_Everythang~&lt;br /&gt;
 &amp;lt; Content-Type: text/html; charset=iso-8859-1&lt;br /&gt;
 Content-Type: text/html; charset=iso-8859-1 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&lt;br /&gt;
 * Connection #0 to host dikapedia.com left intact&lt;br /&gt;
 * Issue another request to this URL: &amp;#039;https://dikapedia.com/wiki/index.php/All_Linux_Everythang~&amp;#039;&lt;br /&gt;
 * Found bundle for host dikapedia.com: 0x1539f70&lt;br /&gt;
 * Re-using existing connection! (#1) with host dikapedia.com&lt;br /&gt;
 * Connected to dikapedia.com (34.195.120.102) port 443 (#1)&lt;br /&gt;
 &amp;gt; HEAD /wiki/index.php/All_Linux_Everythang~ HTTP/1.1&lt;br /&gt;
 &amp;gt; User-Agent: curl/7.29.0&lt;br /&gt;
 &amp;gt; Host: dikapedia.com&lt;br /&gt;
 &amp;gt; Accept: */*&lt;br /&gt;
 &amp;gt;&lt;br /&gt;
 &amp;lt; HTTP/1.1 200 OK&lt;br /&gt;
 HTTP/1.1 200 OK&lt;br /&gt;
 &amp;lt; Date: Thu, 30 Jan 2020 00:46:25 GMT&lt;br /&gt;
 Date: Thu, 30 Jan 2020 00:46:25 GMT&lt;br /&gt;
 &amp;lt; Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 Server: Apache/2.4.41 () OpenSSL/1.0.2k-fips PHP/7.2.24&lt;br /&gt;
 &amp;lt; X-Powered-By: PHP/7.2.24&lt;br /&gt;
 X-Powered-By: PHP/7.2.24&lt;br /&gt;
 &amp;lt; X-Content-Type-Options: nosniff &lt;br /&gt;
 X-Content-Type-Options: nosniff&lt;br /&gt;
 &amp;lt; Content-language: en&lt;br /&gt;
 Content-language: en&lt;br /&gt;
 &amp;lt; Vary: Accept-Encoding,Cookie&lt;br /&gt;
 Vary: Accept-Encoding,Cookie&lt;br /&gt;
 &amp;lt; Expires: Thu, 01 Jan 1970 00:00:00 GMT&lt;br /&gt;
 Expires: Thu, 01 Jan 1970 00:00:00 GMT&lt;br /&gt;
 &amp;lt; Cache-Control: no-cache, no-store, max-age=0, must-revalidate&lt;br /&gt;
 Cache-Control: no-cache, no-store, max-age=0, must-revalidate&lt;br /&gt;
 &amp;lt; Pragma: no-cache&lt;br /&gt;
 Pragma: no-cache&lt;br /&gt;
 &amp;lt; Content-Type: text/html; charset=UTF-8&lt;br /&gt;
 Content-Type: text/html; charset=UTF-8 &lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;&lt;br /&gt;
 * Connection #1 to host dikapedia.com left intact&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Good one from john: get TTFB of dikapedia.com:&lt;br /&gt;
 $ curl -o /dev/null -s -w &amp;quot;Download Speed: %{speed_download} \n TTFB: %{time_starttransfer} \n Transfer Time:%{time_total}\n Download Size:%{size_download}\n&amp;quot; dikapedia.com&lt;br /&gt;
  Download Speed: 435.000 &lt;br /&gt;
  TTFB: 0.528569 &lt;br /&gt;
  Transfer Time:0.528630&lt;br /&gt;
  Download Size:230&lt;br /&gt;
&lt;br /&gt;
====Other commands====&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Check URL&lt;br /&gt;
: One of the most common and simplest uses of curl.&lt;br /&gt;
: This command will display the content of the URL on your terminal. &lt;br /&gt;
 curl https://domain.com/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Save the output of the URL to a file&lt;br /&gt;
:The output of a curl command can be easily saved to a file by adding the -o option to the command like so:&lt;br /&gt;
 curl -o [file] https://domain.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Download files&lt;br /&gt;
:Download files with cURL by adding the -O to the command (remember from work)&lt;br /&gt;
 curl -O https://domain.com/file.zip    (downloads to the current directory)&lt;br /&gt;
:To download file with a different name by adding the -o option:&lt;br /&gt;
 curl -o [newfilename] https://domain.com/file.zip&lt;br /&gt;
:Download multiple files simultaneously:&lt;br /&gt;
 curl -O https://domain.com/file.zip -O https://domain.com/file2.zip&lt;br /&gt;
:Download files securely via SSH using:&lt;br /&gt;
 curl -u user sftp://server.domain.com/path/to/file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Access an FTP server&lt;br /&gt;
:To access your FTP server with cURL:&lt;br /&gt;
 curl ftp://ftp.domain.com --user username:password&lt;br /&gt;
:Curl will connect to the FTP server and list all files and directories in the user’s home directory.&lt;br /&gt;
:Download files via FTP:&lt;br /&gt;
 curl ftp://ftp.domain.com/filename.extension --user username:password. &lt;br /&gt;
:Upload a file onto the  FTP server&lt;br /&gt;
 curl -T filename.extension ftp://ftp.domain.com/ --user username:passwor&lt;/div&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
</feed>