18

Other verbs work fine to my api but delete doesn't fire anything in the network tab on chrome Dev tools

1 Answer 1

48

I guess that you forgot to subscribe on the request. Observables are lazy so you need to subscribe to actually execute them. It must be done even if you don't expect a payload in the response.

Something like that:

this.http.delete().subscribe((res) => {
});
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.