0% found this document useful (0 votes)
6 views4 pages

What Is API

Uploaded by

PRITI DESHMUKH
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

What Is API

Uploaded by

PRITI DESHMUKH
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Next 5 Minutes

1. What is API?
2. What is benefit of using API ?
What is an API
1. An API is an Application Programming Interface.
2. API provides the information, how to communicate with
different software component. Defining the
1. Operations ( What to Call ) . For Example, GET,
POST, DELETE, PUT, PATCH
2. Inputs ( What to send with a Call ) . Example, Id in
the URL or a complete json/xml body
3. Output ( What you get back from the call ) .
4. Object Structure ( Object Data Types ) . JSON/XML
data structure
3. API is a URL which is consumed by Machine ( System )
communicate between 2 or more bodies ( machines ).
Example ( Mobile Phone )
1. Touch
2. Feel
3. Find Menus
4. Intract
5. Etc.
Example Cont…
1. Some of URL may be public where as some of the URL are protected
by some authentication scheme.
2. facebook.com ( public API )
3. https://graph.facebook.com/v5.0/me ( protected API )

You might also like