title: How does nestjs get the cookie in the request?
body: <p>How does nestjs get the cookie in the request?</p>
  
  <pre><code>import { Get, Controller, Response, Request } from '@nestjs/common';
  import { AppService } from './app.service';
  
  const l = console.log
  @Controller()
  export class AppController {
    @Get('json')
    json(@Request() req){
      console.log(req.cookies) // undefined
    }
  }
  </code></pre>