Update list item with Power Automate REST API

How to update an item in a SharePoint Online list using a Power Automate flow.

URI

_api/web/lists/GetByTitle('<List Title Here>')/items(<List Item ID Here>)

Headers

{
  "content-type": "application/json;odata=nometadata",
  "IF-MATCH": "*",
  "X-HTTP-METHOD": "MERGE"
}

Body

{
  "Field1": "This is the new value for Field1",
  "Field2": "This is the new value for Field2"
}

Screenshot with example

Screen shot of Power Automate HTTP function.