title: nest.js @Post setting the content-type of the response
body: <p>I am trying to implement a POST endpoint to my API, which returns an HTML string when called at.</p>
  
  <p>My code looks like this at the moment:</p>
  
  <pre><code>import { Controller, Post } from '@nestjs/common';
  @Controller()
  export class MyController {
      @Post('/endpoint')
      public create(): string {
          return `
              &lt;!DOCTYPE html&gt;
              …
              &lt;/html&gt;`;
      }
  }
  </code></pre>
  
  <p>How can I tell the POST endpoint to send the correct content-type together with it's response? I've searched all documentations but was not able to find anything helpful for me.</p>
  
  <p>Thank you in advance for your help</p>