# What is a REST API?
Hello and welcome! In this tutorial, we will learn how to design a clean REST API. An API is a door that lets one program talk to another program. For example, your mobile app talks to your server through an API.
REST is a set of simple rules for building such a door. It uses normal web tools, such as URLs, HTTP methods and JSON. Because the rules are simple, many developers can understand your API quickly.
The most important idea in REST is the resource. A resource is a thing in your system, like a user, a product or an order. Each resource gets its own URL. Then we use HTTP methods to say what we want to do with it.
What you will learn
- How to name your URLs in a clean way
- How to use the HTTP methods
- How to send the right status codes
- How to handle errors, pages and versions
Let us start with the names of the URLs.