Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fzilla
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
fzilla
9y ago
why stop at a new paragraph for each sentence? why not a new paragraph for each word?
2.
▲
by
fzilla
10y ago
Just because a flag can be set with PUT doesn't mean the server has to accept it in all circumstances. Maybe there are preconditions elsewhere that must be met first, or maybe only someone with sufficient access credentials can set the
3.
▲
by
fzilla
10y ago
Yeah I'm saying this is wrong :\ This isn't how REST is supposed to work
4.
▲
by
fzilla
10y ago
REST is just a representation of the underlying data. What does it matter if "status" is a database field or not? More specifically, it shouldn't have to matter to consumers. Because of the way REST and HTTP work, clients int
5.
▲
by
fzilla
10y ago
Other commenters are correct that POST /accounts/4402278/close is not right (and also fairly hilariously contradicted in the next section). Account status (open, closed, suspended, whatever else) is a property of the account,
6.
▲
by
fzilla
10y ago
NOPE. Quitting the second someone asks me to wear one. End of story.
7.
▲
by
fzilla
10y ago
The HTTP spec exists to help you interact with resources in a specific way. In my experience, the "shoddy REST" the original commenter is talking about usually involves developers ignoring the design principles behind HTTP and try
8.
▲
by
fzilla
10y ago
this this this this this this I cannot recommend this book enough. Read it, read it again, take in everything it is trying to say and try as hard as you can to understand it. There is a whole world of awesome and tragically misunderstood to
9.
▲
by
fzilla
10y ago
> Yes, the corner bodega is more expensive than the full grocery store All your justifications are reasonable from a business standpoint. But if I'm so poor and my circumstances are so bad that a bodega is the only place I can reali