Request Method

  • Requests have a "method" to define how you want to interact with a resource
  • Common methods include GET, POST, PUT, DELETE
  • They correspond (usually) to Read, Create, Update, Delete, respectively
  • Server can interpret how it wants
  • Browser uses GET by default when you browse to a page
  • May also see OPTIONS, PATCH, HEAD and others less frequently

6 / 32