Hacker News new | ask | show | jobs
by silon4 5187 days ago
POST /orders/42?pay=1

POST was always about actions, not just resources.

1 comments

An HTTP request has two parts: a resource (URL) and a method. Expressing your method in the resource rather than the, um, method muddles the two.