patilsudeepmcaamcec2
9 views
10 slides
Oct 08, 2024
Slide 1 of 10
1
2
3
4
5
6
7
8
9
10
About This Presentation
THIS THE ONE OF THE MY PPT ON REST API
Size: 134.82 KB
Language: en
Added: Oct 08, 2024
Slides: 10 pages
Slide Content
REST API Presented by Sudeep N Patil 1AM23MC058 Under the Guidance of Dr.M .Charles sir
What is APIs ? It means Application program interface. It is an bridge that allows the two different Applications or systems communicate with each other and shares the data over internet It is the one of the way to featch the data from server.
What is REST ? Representational state transfer Application Program Interface. It is a set of rules or Guidelines that makes easier to communicate with different system That set of Rules are uses the simple protocals like HTTP or HTTPs
H ttp Protocal methods GET : Retrieve data POST : Create new data PUT : Update existing data DELETE : Remove data
How REST APIs Work The client sends a request to the server, and the server processes the request and sends back a response, In form of Json or xml format. usually the traditional APIs gives the web pages but Rest API gives direct data that is in the format of json or xml format.
. json ( javascript object notation) it is the lightweaight data interchange format that is easy for Humans and machines to read and write. REST APIs are stateless, meaning each request is independent and contains all necessary information. This makes data exchange between systems simple and efficient
. . Practical Demonstration
Advantages of REST API . Performance : Lightweight nature makes data transfer faster. Scalability : Stateless design allows handling multiple requests efficiently. Flexibility : Supports different data formats like JSON and XML. References https://medium.com/@lasithamuthukumarana/what-is-rest-api-4401700e296b https://chatgpt.com