Skip to content

Commit

Permalink
Update http 加密
Browse files Browse the repository at this point in the history
  • Loading branch information
zyx1992 authored Nov 2, 2020
1 parent 504b1b6 commit fa736fe
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions http 加密
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
一、HTTP 请求数据格式

1. application/x-www-form-urlencoded 浏览器原生form表单,URL转义
2. multipart/form-data 表单上传文件
3. application/json
4. text/xml

二、 application/x-www-form-urlencoded

说明地址:https://docs.oracle.com/javase/6/docs/api/java/net/URLEncoder.html

body: view parsed时(优化将+显示成" ")

eg: "SunjzYl72uIz CPGNICIyXe"

body: view source
eg: "SunjzYl72uIz+CPGNICIyXe"

服务端:request.getParameter() 获取

0 comments on commit fa736fe

Please sign in to comment.