News for hackers. Stuff that matters.
Re:Curl is just the hobby by The_Colonel on Monday April 22, 2024 @10:43AM (#40114862)
> Yes, that's why you use POST for everything with effects.

I don't get it. Isn't an idempotent effect still an effect?

> you should also be using PUT to create new database records.

If the client is free to define the identity, then I do. But if the resource gets e.g. an ID from Postgres sequence, then I need to use POST, because repeated call would create duplicates.

There are no comments on this comment yet.