HTTP 协议

1 基本知识

  • Http 协议支持的方法有哪些?
  • 请简述 Http 请求的流程

2 web/http/restful

uri:

GET/POST/PUT/DELETE http://localhost:8080/sudent/1 [唯一资源] http://localhost:8080/sudent/2 http://localhost:8080/sudent/3434

http 重新挖掘一下呢,跟现在 接轨呢。

<form action="/pet" method="post">
  <input name="body" />
</form>

六大约束:

  1. 统一接口
  2. 客户端服务器
  3. 无状态
  4. 缓存 HashMap<String, Object> , /stu/1
  5. 分层
  6. 按需 xml/json/kskdfjskdjf

Author: unname

Created: 2019-03-22 周五 01:32

Go ahead, never stop.