点击send后,Body中输出下面信息:
{
"timestamp": "2019-04-11T11:04:49.954+0000",
"status": 415,
"error": "Unsupported Media Type",
"message": "Content type 'text/plain;charset=UTF-8' not supported",
"path": "/v1/save_user"
}
错误原因是:需要指定http头为 content-type为application/json,具体做法是把传输格式选择JSON(application/json)就可以了
网友评论