Put in order · Angular course · Module 9: HttpClient

Calling the DELETE Method

Arrange the single-line tokens that call deletion of a resource with a given id:

Items to put in order

  • .
  • delete
  • )
  • (
  • ${this.apiUrl}/${id}
  • this.http

You can check the correct answer by solving this task in the CodeWorlds game.