Comment by eadmund
3 months ago
> I think you can profitably split your application API (hypermedia) from your automation API (JSON)
Why split them? Just support multiple representations: HTML and JSON (and perhaps other, saner representations than JSON …) and just let content negotiation sort it all out.
I tend not to like content negotiation:
https://htmx.org/essays/why-tend-not-to-use-content-negotiat...