DELETE is not functioning as expected


will return with a “STATUS: 200 OK” which is wrong.

If I try a DELETE on:

it returns with a “STATUS: 404 Not Found” which is correct.

I’m not sure how long the second URL will work. However, if you’re expecting the behavior in the video, you may be surprised. Keep in mind, the Angular function is working correctly. It’s just that for some reason the website mentioned in the video does not seem to respond the same way that it used to.

Course: Angular 4: Beginner to Pro
Section: Consuming HTTP Services
Video: 12- Handling Expected Errors


Thanks. I had the same issue

1 Like