Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Understanding RESTful APIs | What is the Rest API ?
Django REST Framework
course content

Conteúdo do Curso

Django REST Framework

Django REST Framework

1. What is the Rest API ?
2. What is Serialization?
3. Views and Routers
4. HTTP Request Methods

bookUnderstanding RESTful APIs

Before taking this course, I recommend completing the previous course on Django:

RESTful API

When you use the internet, you're constantly communicating with different web servers. When you request something from a website (like clicking a link), your browser sends a request to the server where that site is stored, and the server sends a response back to you. RESTful API is one way these servers and clients (like your browser) communicate with each other.

What Does RESTful Mean?

  • REST: It stands for "Representational State Transfer." It simply means that the information on a server (like a web page or a photo) is presented in a format that's easy to read both for humans and computers;
  • API: It stands for "Application Programming Interface." It's a set of rules and instructions that allow different programs to communicate with each other.

How Does It Work?

  • Requests and Responses: Imagine you're ordering food in a restaurant. You (the client) make a request (place an order), and the waiter (the API) takes your order to the chef (the server). When your food is ready, the waiter brings it back to you. In the world of RESTful APIs, your requests for information and the server's responses work in a similar way;
  • Internet Addresses (URLs): Each resource (like a web page or an image) on a server has its own unique address, just like home addresses. This makes it easy to locate and access a specific resource.

RESTful APIs are a key tool in modern web development, enabling different programs and services to communicate with each other efficiently. Its simplicity and universality make it an important choice for developers worldwide.

Why use Django REST Framework?

Why use Django REST Framework?

Selecione a resposta correta

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 1
some-alt