Y
Hacker News
new
|
ask
|
show
|
jobs
by
ryeguy
3404 days ago
How? At the end of the day you're still writing an "if" statement branching on a piece of data in the response. In a regular api it might be canEdit, here it's the http verb in an array.