Rest API - HTTP Methods
This DELETE request code returns 401 Unauthorized:
What is the most probable cause?
fetch('/api/posts/7', { method: 'DELETE' })What is the most probable cause?
fetch('/api/posts/7', { method: 'DELETE' })15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions