使用Httplibrary 测试post json数据,服务器端request.Content-type is NULL
Case05
Create Http Context http://xx.xx.xx.xx:5000
Set Request Body username="aaa"
Set Request Header 'Content-type' 'application/json'
POST http://xx.xx.xx.xx:5000/users
server:
Content-Length: 0
Host: 10.66.18.80:5000
Content-Type:
Accept-Encoding: identity
结果是取数据根本取不到