Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

POST would make more sense if each row is its own resource. PATCH would make more sense if the entire table is its own resource, without addressable sub-resources (rows).


As far as the spec is concerned, yes I agree.

On a more personal level, I'm of the opinion that Post can append to an existing resource, without adding a new resource.

Allowing for this practicality in the spec would allow Patch to be only idempotent.


that would be nice, indeed, but seems impossible now.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: