Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • I keep coming back to this question, but I can't see a way to answer it. Mainly, I don't think of an API endpoint as a "view". I frequently use "template" and "view" interchangebly. Typically a "view" is what the end user interacts with, which could be generated from a template and a model. I think the way you have defined "view" is making it hard to answer your question. Commented Sep 29, 2022 at 17:35
  • Thanks! Hm... I guess in MVC what I call "view" would be the Controller? But yeah my question is not very good somehow. Commented Sep 30, 2022 at 8:23