SlideShare a Scribd company logo
APIs 101 with
Postman
Learn API essentials
Postman Student Expert
GDSC Lead
Pranay Narang
@pranay-narang
Who I am
Agenda
1 Intro to APIs and Postman
2 Requests and responses
3 Trying things out
4 Follow-up resources
5 Q&A
go.postman.co/build
APIs: A Digital Restaurant
Client Server
What’s an API?
And why should I use one?
● Application Programming Interfaces (APIs) allow
services to communicate with each other
● Software has become more complex and collaborative
over the years. Developers no longer need to create
every service from scratch.
● APIs allow developers to access data from a service (like
Google or Twitter) without any knowledge of how the
codebase has been implemented.
APIs: A bit Technical
There’s an API for everything
Everything
● The Cat API
● OpenWeatherMap
● Genius
● Discord
● Youtube-to-MP3
● Spotify
● Twitter
● Facebook
● Google
● And so many more!
APIS TURN SOFTWARE INTO LEGO® BRICKS
More than 500,000 organizations & 13 Million developers use Postman
98%
of Fortune 500
Organizations use Postman
65%
of Global 2000
Organizations use Postman
Postman is a collaborative API development platform that simplifies
creating, using, and testing APIs with a UI
What is Postman?
Working APIs: Then and Now
cURL Command Line Postman
Requests and Responses
Request-Response Pattern
Client Server
Request
Response
Resources
Services
Network
API
Making Requests
The three ingredients to
make a request:
● Method (GET, POST, etc)
● Address/Endpoint (URL)
● Path
How we interact with the API
Requests - Methods and Endpoints
Method
GET Retrieve information
POST Send information
PUT/PATCH Update information
DELETE Delete information
address of the server
Bare minimum for a request
https://www.google.com/search
The scheme of
the request
Host
Path
Protocol
destination where
request can be heard
and executed
Specifying Detail
Building your requests
● Parameters
○ In the query
● Authorization
● Headers and body
○ Data types
Requests - Body
The data payload
● Optional, but often supplied
with POST and PUT requests
● Data types
○ form data
○ JSON
○ text
○ HTML
○ XML
○ files
○ GraphQL
○ … and more!
{
“name”: “Jane Doe”,
“email”: “janedoe@email.com”,
“birthYear”: 1970
}
JSON
Receiving Responses
Response elements
● Status codes (200 OK, 201
Created, 404 Not found)
● Headers
● Accessing body data
Follow Along
Navigate to and fork
https://tinyurl.com/3vt73u4c
Recap
We learned request essentials to
retrieve and update API data:
● Methods
● Addresses
● Parameters
● Authorization
● Body data
Continue Learning APIs as a Student
Expert
Student Expert certification indicates that you are proficient in the essential
skills involved in building and testing API requests in Postman, including:
● Sending more sophisticated requests in Postman.
● Editing documentation for a collection.
● Writing basic test scripts.
● Running collections, passing data between requests, and
scripting request execution order.
● Have the option to become a Student Leader in your
community
Postman Student Expert
Apply here: https://bit.ly/postman-student-program
Win
Amazing
Swag
Blog writing competition!
Write what you learned during the
session on your favorite platform like
medium or dev.to
Use #PostmanStudent #PostmanAPI
Send it to us, and we’ll send cool swag to
the coolest blog
Submit your blog URL to organizers
1 2
Share your learnings with
#PostmanStudent
Resources
learning.postman.com
Learning Center
explore.postman.com
API Network
community.postman.com
Forum
Q&A
Thanks for coming!
Have a question we didn’t cover? Email me at [your email here]
Tell us how the workshop went:
<Replace with feedback url>

More Related Content

What's hot

What's hot (20)

Postman Introduction
Postman IntroductionPostman Introduction
Postman Introduction
 
POSTMAN.pptx
POSTMAN.pptxPOSTMAN.pptx
POSTMAN.pptx
 
Postman: An Introduction for Developers
Postman: An Introduction for DevelopersPostman: An Introduction for Developers
Postman: An Introduction for Developers
 
Postman & API Testing by Amber Race
Postman & API Testing by Amber RacePostman & API Testing by Amber Race
Postman & API Testing by Amber Race
 
Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”Postman Webinar: “Continuous Testing with Postman”
Postman Webinar: “Continuous Testing with Postman”
 
An Introduction To Automated API Testing
An Introduction To Automated API TestingAn Introduction To Automated API Testing
An Introduction To Automated API Testing
 
API Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj RollisonAPI Testing: The heart of functional testing" with Bj Rollison
API Testing: The heart of functional testing" with Bj Rollison
 
How to Automate API Testing
How to Automate API TestingHow to Automate API Testing
How to Automate API Testing
 
Belajar Postman test runner
Belajar Postman test runnerBelajar Postman test runner
Belajar Postman test runner
 
Postman 101 & Office Hours
Postman 101 & Office HoursPostman 101 & Office Hours
Postman 101 & Office Hours
 
B4USolution_API-Testing
B4USolution_API-TestingB4USolution_API-Testing
B4USolution_API-Testing
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_Postman
 
Space Camp June 2022 - API First.pdf
Space Camp June 2022 - API First.pdfSpace Camp June 2022 - API First.pdf
Space Camp June 2022 - API First.pdf
 
Postman: An Introduction for Testers
Postman: An Introduction for TestersPostman: An Introduction for Testers
Postman: An Introduction for Testers
 
Postman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenarioPostman. From simple API test to end to end scenario
Postman. From simple API test to end to end scenario
 
API Test Automation
API Test Automation API Test Automation
API Test Automation
 
Postman
PostmanPostman
Postman
 
Accelerate Quality with Postman - Basics
Accelerate Quality with Postman - BasicsAccelerate Quality with Postman - Basics
Accelerate Quality with Postman - Basics
 
API TESTING
API TESTINGAPI TESTING
API TESTING
 
API Testing
API TestingAPI Testing
API Testing
 

Similar to [GDSC-ADYPU] APIs 101 with Postman

Similar to [GDSC-ADYPU] APIs 101 with Postman (20)

Grant's Copy of APIs 101 Workshop.pptx
Grant's Copy of APIs 101 Workshop.pptxGrant's Copy of APIs 101 Workshop.pptx
Grant's Copy of APIs 101 Workshop.pptx
 
API 101 event.pdf
API 101 event.pdfAPI 101 event.pdf
API 101 event.pdf
 
Nishit - APIs 101 Workshop.pptx
Nishit - APIs 101 Workshop.pptxNishit - APIs 101 Workshop.pptx
Nishit - APIs 101 Workshop.pptx
 
Postman 101 for developers
Postman 101 for developersPostman 101 for developers
Postman 101 for developers
 
PHP/MySQL Training Course in Delhi, India by IT People
PHP/MySQL Training Course in Delhi, India by IT PeoplePHP/MySQL Training Course in Delhi, India by IT People
PHP/MySQL Training Course in Delhi, India by IT People
 
Open Data and Web API
Open Data and Web APIOpen Data and Web API
Open Data and Web API
 
Postman Webinar: Postman 101
Postman Webinar: Postman 101Postman Webinar: Postman 101
Postman Webinar: Postman 101
 
rajesh_CV
rajesh_CVrajesh_CV
rajesh_CV
 
rajesh_CV
rajesh_CVrajesh_CV
rajesh_CV
 
Reshma_Bhalekar_Resume
Reshma_Bhalekar_ResumeReshma_Bhalekar_Resume
Reshma_Bhalekar_Resume
 
Nom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIsNom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIs
 
Nom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIsNom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIs
 
Reshma_Bhalekar_Resume
Reshma_Bhalekar_ResumeReshma_Bhalekar_Resume
Reshma_Bhalekar_Resume
 
Swift meetup22june2015
Swift meetup22june2015Swift meetup22june2015
Swift meetup22june2015
 
Designing Usable APIs featuring Forrester Research, Inc.
Designing Usable APIs featuring Forrester Research, Inc.Designing Usable APIs featuring Forrester Research, Inc.
Designing Usable APIs featuring Forrester Research, Inc.
 
Meetic Backend Mutation With Symfony
Meetic Backend Mutation With SymfonyMeetic Backend Mutation With Symfony
Meetic Backend Mutation With Symfony
 
ONS Local and Data Science Community Workshop 1: How to use APIs
ONS Local and Data Science Community Workshop 1: How to use APIsONS Local and Data Science Community Workshop 1: How to use APIs
ONS Local and Data Science Community Workshop 1: How to use APIs
 
Python training in noida
Python training in noidaPython training in noida
Python training in noida
 
Roundtable_-_API_Research__Testing_Tools.pdf
Roundtable_-_API_Research__Testing_Tools.pdfRoundtable_-_API_Research__Testing_Tools.pdf
Roundtable_-_API_Research__Testing_Tools.pdf
 
Api FUNdamentals #MHA2017
Api FUNdamentals #MHA2017Api FUNdamentals #MHA2017
Api FUNdamentals #MHA2017
 

Recently uploaded

Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
Alluxio, Inc.
 

Recently uploaded (20)

De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Designing for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web ServicesDesigning for Privacy in Amazon Web Services
Designing for Privacy in Amazon Web Services
 
Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
Breaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfBreaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdf
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
Abortion ^Clinic ^%[+971588192166''] Abortion Pill Al Ain (?@?) Abortion Pill...
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
GraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysisGraphAware - Transforming policing with graph-based intelligence analysis
GraphAware - Transforming policing with graph-based intelligence analysis
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
AI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in Michelangelo
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning Framework
 

[GDSC-ADYPU] APIs 101 with Postman

  • 2. Postman Student Expert GDSC Lead Pranay Narang @pranay-narang Who I am
  • 3. Agenda 1 Intro to APIs and Postman 2 Requests and responses 3 Trying things out 4 Follow-up resources 5 Q&A go.postman.co/build
  • 4. APIs: A Digital Restaurant Client Server
  • 5. What’s an API? And why should I use one? ● Application Programming Interfaces (APIs) allow services to communicate with each other ● Software has become more complex and collaborative over the years. Developers no longer need to create every service from scratch. ● APIs allow developers to access data from a service (like Google or Twitter) without any knowledge of how the codebase has been implemented.
  • 6. APIs: A bit Technical
  • 7. There’s an API for everything Everything ● The Cat API ● OpenWeatherMap ● Genius ● Discord ● Youtube-to-MP3 ● Spotify ● Twitter ● Facebook ● Google ● And so many more!
  • 8. APIS TURN SOFTWARE INTO LEGO® BRICKS
  • 9. More than 500,000 organizations & 13 Million developers use Postman 98% of Fortune 500 Organizations use Postman 65% of Global 2000 Organizations use Postman Postman is a collaborative API development platform that simplifies creating, using, and testing APIs with a UI What is Postman?
  • 10. Working APIs: Then and Now cURL Command Line Postman
  • 13. Making Requests The three ingredients to make a request: ● Method (GET, POST, etc) ● Address/Endpoint (URL) ● Path How we interact with the API
  • 14. Requests - Methods and Endpoints Method GET Retrieve information POST Send information PUT/PATCH Update information DELETE Delete information address of the server Bare minimum for a request https://www.google.com/search The scheme of the request Host Path Protocol destination where request can be heard and executed
  • 15. Specifying Detail Building your requests ● Parameters ○ In the query ● Authorization ● Headers and body ○ Data types
  • 16. Requests - Body The data payload ● Optional, but often supplied with POST and PUT requests ● Data types ○ form data ○ JSON ○ text ○ HTML ○ XML ○ files ○ GraphQL ○ … and more! { “name”: “Jane Doe”, “email”: “janedoe@email.com”, “birthYear”: 1970 } JSON
  • 17. Receiving Responses Response elements ● Status codes (200 OK, 201 Created, 404 Not found) ● Headers ● Accessing body data
  • 18. Follow Along Navigate to and fork https://tinyurl.com/3vt73u4c
  • 19. Recap We learned request essentials to retrieve and update API data: ● Methods ● Addresses ● Parameters ● Authorization ● Body data
  • 20. Continue Learning APIs as a Student Expert Student Expert certification indicates that you are proficient in the essential skills involved in building and testing API requests in Postman, including: ● Sending more sophisticated requests in Postman. ● Editing documentation for a collection. ● Writing basic test scripts. ● Running collections, passing data between requests, and scripting request execution order. ● Have the option to become a Student Leader in your community
  • 21. Postman Student Expert Apply here: https://bit.ly/postman-student-program
  • 23. Blog writing competition! Write what you learned during the session on your favorite platform like medium or dev.to Use #PostmanStudent #PostmanAPI Send it to us, and we’ll send cool swag to the coolest blog Submit your blog URL to organizers 1 2
  • 24. Share your learnings with #PostmanStudent
  • 26. Q&A
  • 27. Thanks for coming! Have a question we didn’t cover? Email me at [your email here] Tell us how the workshop went: <Replace with feedback url>