Open andotorg opened 3 years ago
Describe the bug Post请求的时候,设置请求体为json,在发送请求的时候,自动把花括号给去掉了
To Reproduce Steps to reproduce the behavior:
JSON parse error: syntax error, expect {, actual ident, pos 0, fastjson-version 1.2.62; nested exception is com.alibaba.fastjson.JSONException: syntax error, expect {, actual ident, pos 0, fastjson-version 1.2.62]
下面是抓包截图:
应该是application/json和application/x-www-form-urlencoded判断反了,或者版本升级导致有部分属性取不到导致赋值了默认的FORM_URLENCODED
application/json
application/x-www-form-urlencoded
FORM_URLENCODED
Describe the bug Post请求的时候,设置请求体为json,在发送请求的时候,自动把花括号给去掉了
To Reproduce Steps to reproduce the behavior:
下面是抓包截图: