Angular

Last Updated: 9/4/2023

Updating Data

  • Reference the specific post by passing id

Put

this.http.put(url + "/" + post.id, post)

Patch

this.http.patch(url + "/" + post.id, {isRead: true})