0
我HTTPServletRequest
包含以下信息。现在如何读取的HttpServletRequest的该请求头部的内容类型是application/X WWW的窗体-urlencoded在Java
headers:
Accept-Encoding: gzip, deflate
X-Chargify-Webhook-Signature: b048ad28f573829f52f05208aa522a6f
X-Chargify-Webhook-Id: "8233897"
Content-Type: application/x-www-form-urlencoded
Accept: "*/*; q=0.5, application/xml"
Content-Length: "47"
body: payload[chargify]=testing&id=8233897&event=test
,如何读取身体身体从请求和身体分为键/值对?