<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>https://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>https://jackxiang.com/post//</link>
<title><![CDATA[curl -XGET http://baidu.com和 curl -XPOST http://baidu.com的Tcp流区别,PUT创建新的实体。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[Php/Js/Shell/Go]]></category>
<pubDate>Sat, 24 Jun 2017 04:21:03 +0000</pubDate> 
<guid>https://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	curl -XGET http://baidu.com<br/><br/>GET / HTTP/1.1<br/>User-Agent: curl/7.29.0<br/>Host: baidu.com<br/>Accept: */*<br/><br/>HTTP/1.1 200 OK<br/>Date: Fri, 31 Mar 2017 03:56:42 GMT<br/>Server: Apache<br/>Last-Modified: Tue, 12 Jan 2010 13:48:00 GMT<br/>ETag: &quot;51-47cf7e6ee8400&quot;<br/>Accept-Ranges: bytes<br/>Content-Length: 81<br/>Cache-Control: max-age=86400<br/>Expires: Sat, 01 Apr 2017 03:56:42 GMT<br/>Connection: Keep-Alive<br/>Content-Type: text/html<br/><br/>&lt;html&gt;<br/>&lt;meta http-equiv=&quot;refresh&quot; content=&quot;0;url=http://www.baidu.com/&quot;&gt;<br/>&lt;/html&gt;<br/><br/><br/><br/><br/>curl -XPOST http://baidu.com<br/><br/><br/>POST / HTTP/1.1<br/>User-Agent: curl/7.29.0<br/>Host: baidu.com<br/>Accept: */*<br/><br/>HTTP/1.1 200 OK<br/>Date: Fri, 31 Mar 2017 03:59:50 GMT<br/>Server: Apache<br/>Last-Modified: Tue, 12 Jan 2010 13:48:00 GMT<br/>ETag: &quot;51-47cf7e6ee8400&quot;<br/>Accept-Ranges: bytes<br/>Content-Length: 81<br/>Cache-Control: max-age=86400<br/>Expires: Sat, 01 Apr 2017 03:59:50 GMT<br/>Connection: Keep-Alive<br/>Content-Type: text/html<br/><br/>&lt;html&gt;<br/>&lt;meta http-equiv=&quot;refresh&quot; content=&quot;0;url=http://www.baidu.com/&quot;&gt;<br/>&lt;/html&gt;<br/><br/><br/><br/><br/>Post加个参数：<br/>curl -XPOST http://baidu.com -d&quot;say=hello&quot;<br/><br/>POST / HTTP/1.1<br/>User-Agent: curl/7.29.0<br/>Host: baidu.com<br/>Accept: */*<br/>Content-Length: 9<br/>Content-Type: application/x-www-form-urlencoded<br/><br/>say=helloHTTP/1.1 200 OK<br/>Date: Fri, 31 Mar 2017 04:03:47 GMT<br/>Server: Apache<br/>Last-Modified: Tue, 12 Jan 2010 13:48:00 GMT<br/>ETag: &quot;51-47cf7e6ee8400&quot;<br/>Accept-Ranges: bytes<br/>Content-Length: 81<br/>Cache-Control: max-age=86400<br/>Expires: Sat, 01 Apr 2017 04:03:47 GMT<br/>Connection: Keep-Alive<br/>Content-Type: text/html<br/><br/>&lt;html&gt;<br/>&lt;meta http-equiv=&quot;refresh&quot; content=&quot;0;url=http://www.baidu.com/&quot;&gt;<br/>&lt;/html&gt;<br/><br/><br/><br/><br/>Get里加个参数：<br/>curl -XGET http://baidu.com?say=hello<br/><br/>GET /?say=hello HTTP/1.1<br/>User-Agent: curl/7.29.0<br/>Host: baidu.com<br/>Accept: */*<br/><br/>HTTP/1.1 200 OK<br/>Date: Fri, 31 Mar 2017 04:05:06 GMT<br/>Server: Apache<br/>Last-Modified: Tue, 12 Jan 2010 13:48:00 GMT<br/>ETag: &quot;51-47cf7e6ee8400&quot;<br/>Accept-Ranges: bytes<br/>Content-Length: 81<br/>Cache-Control: max-age=86400<br/>Expires: Sat, 01 Apr 2017 04:05:06 GMT<br/>Connection: Keep-Alive<br/>Content-Type: text/html<br/><br/>&lt;html&gt;<br/>&lt;meta http-equiv=&quot;refresh&quot; content=&quot;0;url=http://www.baidu.com/&quot;&gt;<br/>&lt;/html&gt;<br/><br/><br/><br/><br/><br/>curl -XPUT http://baidu.com?say=hello<br/>curl: (52) Empty reply from server<br/>Head头：<br/><br/>PUT /?say=hello HTTP/1.1<br/>User-Agent: curl/7.29.0<br/>Host: baidu.com<br/>Accept: */*<br/><br/><br/><br/>加点参数看看，其-d参数和Post一样的位置：<br/>curl -XPUT http://baidu.com?say=hello -d&#039;&#123;&quot;title&quot;:&quot;new version of elasticsearch released!&quot;,&quot;content&quot;:&quot;Ver 1.0 released today!&quot;,&quot;tags&quot;:[&quot;announce&quot;,&quot;elasticsearch&quot;,&quot;release&quot;]&#125;&#039;<br/>curl: (52) Empty reply from server<br/><br/>PUT /?say=hello HTTP/1.1<br/>User-Agent: curl/7.29.0<br/>Host: baidu.com<br/>Accept: */*<br/>Content-Length: 132<br/>Content-Type: application/x-www-form-urlencoded<br/><br/>&#123;&quot;title&quot;:&quot;new version of elasticsearch released!&quot;,&quot;content&quot;:&quot;Ver 1.0 released today!&quot;,&quot;tags&quot;:[&quot;announce&quot;,&quot;elasticsearch&quot;,&quot;release&quot;]&#125;<br/><br/><br/><br/><br/>curl -XDELETE http://baidu.com/blog/article/1<br/>curl: (52) Empty reply from server<br/><br/>DELETE /blog/article/1 HTTP/1.1<br/>User-Agent: curl/7.29.0<br/>Host: baidu.com<br/>Accept: */*<br/><br/>
]]>
</description>
</item><item>
<link>https://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] curl -XGET http://baidu.com和 curl -XPOST http://baidu.com的Tcp流区别,PUT创建新的实体。]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>https://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>