News for hackers. Stuff that matters.
Re:Advice to Young Web Developers by sunaurus on Friday June 19, 2020 @05:18AM (#23572682)
You're exposing an API in both cases. In one case, your API returns HTML, in the other case, it returns (presumably) JSON. The format of the response doesn't have to have any bearing on what SQL queries you write or what permissions you check - you can implement the data fetching exactly the same way for both cases.

There are no comments on this comment yet.