First of all, we get to know about our speaker of the day @ialimustafa.
He has excelled in contribution and grow with the community, has attended many pronounced submits.
Now coming to the workshop, I’ve to say his presentation skill is as perfect as crystal.
Started with
API:-Application Programming Interface:
We’ve seen a real-time use of API, Example was about social media. Discussed story of Instagram, LinkedIn.
Kinds of API:
1) PUBLIC API:-
Eg. Music with Spotify helps to provide, Weather report, etc.
2) PRIVATE API:-
Eg. API used by Instagram, etc.
3) HARDWARE API:-
Eg. Access to the camera, etc.
API’s Turn software into LEGO bricks:
--Connect one interface to other interfaces.
--Without disclosing the hardware.
Important Two Parts:
1.Requesting
Method :
GET (Retrieve Information)
POST (Send Information)
PUT (Update Information)
DELETE (Deleting Information)
Address URL:
Linkedin.com/ feed/
-Where Linkedin.com/ is End Point
i.e channel of communication.
-feed/ is the path
i.e where the operation is going to be.
Specifying details:
-Parameters:
->path param
->query param
Then,
2.Receiving Responses
->Status code:
404- Page not found
200- Ok
201- Created successfully
400- Bad request
->Headers
->Accessing Body Data
At the end of the theory
Discussed
What is Postman?
Ans. Creating, using & testing APIs with UI.
Also covered the scenario of Before Postman & After Postman development(auto code generated).
Key points:- (Hands-ON)
Then learned to
use 4 methods of requesting,
how to fork,
use of Id,
Where to find the body?
Refer documentation.
Top comments (0)