Comment

Comment by brosciencecode

Are you mistaking POST for PATCH? What I've been working with is:

- POST creates

- PUT replaces (i.e. edit, but you need to provide the whole resource)

- PATCH edits (i.e. you can only provide some fields)

APIs rarely implement all these properly in practice but that's my understanding of the theory.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton