There are two kinds of servers:
- A traditional server
- An API server
Both traditional servers and API servers return information to the client — the only difference is what kind of information gets returned.
Traditional servers
Traditional servers return information that a browser needs to render the website. This information can include (but is not limited to) the following:
- HTML content
- CSS
- JavaScript
- Images
- Etc…
API Servers
API servers return information that the request asks for. The information can vary, but it’s usually encoded into one of these content types:
application/jsontext/html
What you’re learning
You’ll learn how to build an API server in this course because it can handle all your Rest API needs.
With that, let’s proceed to the next lesson.
Welcome! Unfortunately, you don’t have access to this lesson. To get access, please purchase the course or enroll in Magical Dev School.
Unlock this lesson