Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
blowski
on July 30, 2023
|
parent
|
context
|
favorite
| on:
An Introduction to APIs
My rule of thumb: if you know the ID of the resource you’re creating, it’s a PUT. If the system generates the ID, then it’s a POST.
treve
on July 30, 2023
[–]
More generally the URI instead of the ID.
SgtBastard
on July 31, 2023
|
parent
[–]
The
I
in URI, stands for Identifier...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: