Hacker News new | ask | show | jobs
by bladelessninja2 1119 days ago
I hope the author means HTTPS, not HTTP - otherwise, I don't think this is a good idea.

Anyway, as everything in software development: it all depends - serving a simple JSON over an existing "full blown web application back-end" is usually more convenient and less confusing for developers than configuring hosting for static content. Although, if you JUST want to serve a JSON then, yeah, you can add it as a static resource.