通过Postman发POST请求时,服务端报错,错误信息如下:
“org.springframework.http.converter.HttpMessageNotReadableException:Required request body is missing”
通过查询发现是请求方式不对。请求如下:
但实际的请求方式应为下图方式:
修改之后,报错问题解决。
通过Postman发POST请求时,服务端报错,错误信息如下:
“org.springframework.http.converter.HttpMessageNotReadableException:Required request body is missing”
通过查询发现是请求方式不对。请求如下:
但实际的请求方式应为下图方式:
修改之后,报错问题解决。