关于http请求的一个错误

用 REST客户端 发送的 post 请求如下:

content-type: application/json

{
    "username": "string",
    。。。
}

响应的函数如下:

(request, response) => {
  const { username, 。。。 } = request.body
  。。。
}

报错如下:

Cannot destructure property 'username' of 'request.body' as it is undefined.

不明白为什么undefined
请大家指点
谢谢!

打印一下request看看存不存在