I apologise for this early wafrn design decision
0 Boosts
0 Likes
@0x4d6165@transfem.social
Those wouod be put i think but idk
@gabboman@gabboman.xyz seems like POST is only for creation whereas PUT is for creation or updating. https://www.rfc-editor.org/info/rfc2616/#section-9.5
It's more that with POST the server decides what URL the resource is at, with PUT the client does. PUT is tricky for round tripping as GET, modify, PUT means the client has to fully parse the object it's replacing, and is easier to accidentally write a race condition that way.
@gabboman@gabboman.xyz wait aren't you supposed to POST new entities?