REST API

Ali Talha Çoban
2 min readAug 28, 2021

--

In this story, I’ll talk about REST API, which is one of the most significant topics in Android Development. OK then, let’s roll.

What is API ?

Before explaining what REST API is, let’s talk about what API is? An API is a set of definitions and protocols for building and integrating application software. Let me clarify with an example: When you use an application on your mobile phone, the application connects to the Internet and sends data to a server. The server then retrieves that data, interprets it, performs the actions and sends it back to your phone. The application then interprets that data and presents you with the information you wanted in a readable way. This is what an API is, all of this happens via API.

What is REST ?

REST is a set of architectural constraints, not a protocol or a standard. It stands for representational state transfer. API developers can implement REST in a variety of ways.

What is REST API ?

Now that we understand what an REST and a API are, now it’s time to understand what a REST API (also known as RESTful API) is an application programming interface that was created by scientist Roy Fielding. We mentioned briefly, but what exactly REST API is? It’s an API that conforms to the design principles of the REST, or representational state transfer architectural style. It uses HTTP requests to access and use data. That data can GET, PUT, POST and DELETE data types, which refers to the reading, updating, creating and deleting of operations concerning resources.

Data formats the REST API supports include:

  • application/json
  • application/xml
  • application/x-wbe+xml
  • application/x-www-form-urlencoded
  • multipart/form-data

Hope it helps you guys. If you found this helpful and liked it, don’t forget to follow and clap.

contact: cobanalitalha@gmail.com

--

--

Ali Talha Çoban
Ali Talha Çoban

Written by Ali Talha Çoban

Backend Developer | Node.js | Spring Boot | PostgreSQL | MongoDB | MySQL

No responses yet