Resources and methods — HTTP and REST · Foundations

A URL names a thing and a method says what to do to it. Build the full set of cat routes, and see why PUT and DELETE can be repeated safely while POST cannot.

What you will learn

Read the theory for Resources and methods

All HTTP and REST lessons

All Foundations courses

loading types…

What you'll learn

  • Design URLs as resources, a collection and its items, with no verbs in the path
  • Choose between POST, PUT, PATCH and DELETE by what each one means
  • Explain which methods are safe and which are idempotent, and why a client may retry the idempotent ones