PUT

PUT

  • The PUT method updates an item at the specified resource

  • A request like PUT https://restaurant-reviews.com/restaurants/353 could update the information for Little Beet Restaurant after the owner edits the restaurant’s hours

  • Like POST requests, PUT requests come with data in the HTTP request body to specify the fields and new values to update

  • For example Hours: M-F 10a-10p, closed on Saturday and Sunday