Comment

Comment by throwaway_4228

> I would personally perhaps protest against the use of PUT for POSTing JSON, but nobody asked me.

Just wondering, if the resource ID is known, I thought PUT is the recommended method? We usually use POST for creating a new resource for which you don't know an ID yet.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton