Put in order · Angular course · Module 9: HttpClient

Mapping CRUD Operations to HTTP Methods

Order the HTTP methods following a typical resource lifecycle: create, read, update the whole thing, delete:

Items to put in order

  • get() - fetch a samurai
  • put() - update the entire samurai
  • post() - create a new samurai
  • delete() - delete a samurai

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