http verbs / methods mapping to CRUD (from the database world)

Well – here is what makes it hard to remember for me:

CRUD in the database world is (CRUD I know from years of database experience):

Create, Read, Update, Delete

But when you hear HTTP verbs / methods discussed they are usually writting in this order:

Get, Post, Put, Delete

But those two orders are different in other words

Create = Post
Read = Get
Update = Put / Patch
Delete = Delete

In other words CRUD=PGPD

Where P1=Post, and P2=Put or Patch…

Leave a Comment

Scroll to Top