NestJS · Junior · Question 69 of 75

How do you send a custom header from a handler without using @Res()?

Explanation

Related decorators: @HttpCode() for status and @Redirect() for redirects.

Further reading

Problem with a question

NestJS · Junior · question 69

Test yourself

Take the NestJS · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz