Skip to content
RED SAG Skills
easy5 pts · first answer countsfetch-apijavascript

What fetch does on a 404

The request below gets a 404 Not Found response. What happens?

fetch('/api/user')
  .then((res) => res.json())
  .catch(() => console.log('failed'))
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions