not sure why but I still don't understand why people return HTML from apis instead of json
Discussion
That does indeed sound weird. Maybe a 404 page?
HATEOS
Its a style of web app dev and with a lightweight js framework like htmx you can do some cool stuff.
no. stop. stahp.