Jon Aquino's Mental Garden

Engineering beautiful software jon aquino labs | personal blog

Saturday, August 14, 2010

HTTP Verbs Explained Using SQL

GET = select
POST = insert
PUT = insert or update where id = ...
DELETE = delete

Some people say PUT = update, but it's more like "update where id = ..., or if it doesn't exist, insert with id = ..."

0 Comments:

Post a Comment

<< Home