Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
LLAMS36645yshould implement a whole rest API just to handle clicks, with a scheme like
api/links/:link
and the response contains the name of the page that should be rendered which you can then handle in the front end :D
note: yes I am trolling -
devTea219175y@localdam I’ve problems with him in the past. Not gonna bother handling his shit again.
@achu he is 26 and it’s a new project now -
noder11985yThis sounds like a simpleton predecessor of HATEOAS (Hypermedia As The Engine Of Application State) where the redirect links are part of the REST API response itself.
I saw someone handle redirect on every anchor link on server side. Yes, they handle onclick on serverside and then decide where to redirect. No they don’t use href or any sort that’s stated on the HTML. And this guy is my senior.
rant
please end my life