Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
quickthrower2
on Nov 29, 2022
|
parent
|
context
|
favorite
| on:
A Poor Man's API
What is the acronym for when something needs to be done, so you create an endpoint to do that thing, maybe return HTML if convenient (if it is a page request) or JSON if it is XHR, and then move on to the next user story?
senko
on Nov 29, 2022
|
next
[–]
AJAX:
https://developer.mozilla.org/en-US/docs/Web/Guide/AJAX
quickthrower2
on Nov 29, 2022
|
parent
|
next
[–]
Perhaps! Although more generally I guess it is HTTP
morelisp
on Nov 29, 2022
|
prev
|
next
[–]
HTTP. And it works fine up to a dozen entities and maybe a hundred endpoints, which will cover more use cases than people think.
is_true
on Nov 29, 2022
|
prev
[–]
It's called ReRe, Return Response
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: