Express quiz · 25 questions

Redirect

Read the code

Which approach in the given code example is a valid way to redirect to specific URL?


res.redirect(301, 'https://domain.com');

res.redirect('https://domain.com');
  • 1–3 answer
  • ← previous
Question 17 of 2564%