logoalt Hacker News

karmakazelast Thursday at 3:42 PM1 replyview on HN

> Any HTML element can make an HTTP request

> The server just returns HTML (not JSON, actual HTML)

I like to separate presentation HTML from the data (returned from HTTP request). Some like to make backends that do nothing but serve the (singular) frontend, even running templates to make the HTML they return for easy consumption. That's not where I draw the line.


Replies

yawaraminlast Thursday at 6:45 PM

You know, there was a time when returning Hypertext Markup Language over Hypertext Transfer Protocol was considered a normal thing.