What is Rest API ?

Pathum chinthaka
3 min readNov 22, 2023

--

Hellow there ๐Ÿ™‹โ€โ™‚๏ธ,

My name is Pathum and welcome to my new atricle about Rest API ๐Ÿ˜ƒ Letโ€™s dive deep into the world of REST API and elevate our understanding of web development to new heights!

Before we are talk about the REST API world letโ€™s understand about How the WEB browser works internaly because we should have a good understanding about this topic.

What is Client-Server Architecture ๐Ÿ™„ ?

So client-server architecture is like a conversation between your device eg: Web Browse or Mobile or any other device can access to the internet is the client and a powerful computer (the server), where your device asks for things (a REQUEST ), and the server responds with the information you requested.

So this is how the web browser works internally. And I think you will get a clear idea about this topic.

Now letโ€™s dive deep into our main topic, which is about the world of REST APIs! ๐Ÿ˜

What is REST actually means ๐Ÿค” ?

REST stands for Representational State Transfer and this an Architectural style for designing the Network Applications.It was introduced by Roy Fielding in the year 2000.REST is not a Protocol or Standard.

oh Really ? then what it is ?

๐Ÿ˜ƒ It is a set of priciples that define how web standards , Such as HTTP and URl shuold be use to create scalable and maintainable web services.

okey ๐Ÿค— now i think you got an idea about what is REST actually means ! So now we are going to talk about what is an API means.

API stands for Application Programming Interface . An API is a set of rules and protocols that allows one software application to interact/communicate with another.It defines their own methods such as GET , POST , PUT , DELETE (http methods) .and data formats such as JSON (Javascript object notetion) that applications can use to request and exchange information. accross the web.

Hereโ€™s ๐Ÿ‘‡ a Actual summary of REST API

REST API, or Representational State Transfer Application Programming Interface, is an architectural style for designing networked applications. It defines a set of principles ๐Ÿ™‚, including statelessness, client-server architecture a uniform interface, and resource-based communication. RESTful APIs use standard HTTP methods (GET, POST, PUT, DELETE) to perform operations on resources identified by Uniform Resource Identifiers (URIs).

Happy reading! ๐Ÿ“–โœจ

--

--

Pathum chinthaka
0 Followers

Hey There , I am Pathum Chinthaka and Undergraduate Full-stack developer from Sri lanka .