Tag Info

New answers tagged

0

If you don't want your users to view the data in the format that is returned by the API to the client side JS, then you can do the client side processing/aggregation on the server itself and return the aggregated data via your API. This way the API will only return the data that the users are allowed to see and your JS framework works just as a presentation ...


2

Then just don't make a public API. Make your web server build the HTML in the back-end and simply return it as a whole. KISS. If you want to build a HTML/JS front-end that calls public JSON/whatever REST services, there will be hundreds of ways to call the services directly┬╣, even it means to simulate a browser (which is really not as hard as it sounds). ...



Top 50 recent answers are included