I've always only used REST to build web services for mobile apps, for example i use Django to build the website using templates, and build a REST API using django framework, but would it be a good approach if i make de web front-end separately from django, and just consume data from the REST API i made for the mobile app ?
Take the 2-minute tour
×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.
closed as unclear what you're asking by GlenH7, MichaelT, Kilian Foth, gnat, Doc Brown Nov 11 '14 at 12:52Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question. |
|||||||||||||||||
|
This is the preferred approach when you want multiple front ends to connect to the same server. Build a REST API and do not output any HTML or anything else other than JSON data. You can also have an authentication rest endpoint. |
|||
|