DEV Community

Shivam Gupta
Shivam Gupta

Posted on

1 1

APIs 101 Using Postman | Ali Mustufa | 8th March 2021 |FET-JU

Alt Text

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.

API Trace View

How I Cut 22.3 Seconds Off an API Call with Sentry 👀

Struggling with slow API calls? Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay