Anemone95 / anemone95.github.io

http://anemone.top/
2 stars 1 forks source link

HTTP协议复习 | Anemone's Blog #36

Open Anemone95 opened 5 years ago

Anemone95 commented 5 years ago

http://anemone.top/HTTP-HTTP%E5%8D%8F%E8%AE%AE%E5%A4%8D%E4%B9%A0/

HTTP 请求 GET 用于获取数据,无请求body POST 用于添加数据 其content-type不同,body中的格式也不同 PUT 用于添加或更新数据 Request: 123456PUT /new.html HTTP/1.1Host: example.comContent-type: text/htmlContent-length: 16<p>New File</