SacPy - BitProject - Postman Workshop
SacPy - BitProject - Postman Workshop
APIs}
Bit Project x Postman Presents
}
Reimagining
the Classroom
Leveraging technology to
rethink the way we teach
bitproject.org/join/student
Presenters
Download Postman!
getpostman.com/downloads
Make a Postman Account!
What is an API?
APIs allow programs to interact
with each other without exposing
source code
Why are APIs Useful?
Faster Development
You don’t need to build everything from
scratch.
HTTP
Webpage Server
HTTP Methods
GET: retrieves data
Easy Testing
Postman allows easy API testing
with a click of a button.
Collections
Postman also allows you to organize a set of
API requests.
Environments
Environments allow easy switching
between, development and
production servers. Environments let
you customize requests using
variables so you can easily switch
between different setups without
changing your requests.
Creating an Environment
Credentials
Variables in a Postman
collection can be used in the
entire collection - allows you
to encapsulate sensitive data
Create Variables for your Credentials
https://bitbloxs.herokuapp.com/
Create Variables for your Credentials
thisistheapikey
Open Collection
{{url}}boxes/22
Postman Features
Documentation
Postman also auto generates
beautiful documentation.
explore.postman.com/templates/4301
Click View Documentation
Importing Collections
Collection Runner
Collections are groups of
requests that can be run
together as a series of requests,
against a corresponding
environment.
Collection Runner
Configure the POST route to look
something like this.
bitproject.org/join/students