Push Your Hardskill using Django: Designing your API with Postman

image from pixabay

Most Important in software development especially backend, like creating API or designing how to program or software works, and the core concept for building application, so in this post we will discuss about it

The Core

here is the basic of postman

  • Get Postman
  • Create Virtual Environtment
  • Create Requests
  • Create Mock Server

Get Postman

First, to Get postman visit https://www.postman.com/downloads/ and download it

postman download page

Create Virtual Environtment

in postman we can create virtual environment so we can isolate the specific configuration for mockup API

to create virtual environment in postman, click environment menu

creating virtual environment on postman
create variable on environtment

Create Requests

The other important step is create requests, in this step, we will build API response for our mockup, first create the collection for our API

create collection

and create request with body like this

create the response

Creating the Mock Server

With the mock server we can simulate production flow in our API and we can pararel works with our team

creating mock server
mock configuration
copy mock url
paste to environment variables

that’s how to use postman, in the next part we will try to make a case study of e-commerce API

Conclusion

in building a software, especially web-based and we can use it also on mobile we need an API to connect them all

Interesting with Blockchain and Opensource Project my journal: https://www.perykun.xyz/

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to Read Ram Data

Using the Girvan-Newman Algorithm To Recommend Movies

Polymorphism

Best APIs To Get Flight Data Of Eastar Jet Airlines

Uploading Cypress results to ReportPortal using Jenkinsfile

Your data could be choking your cloud project

Paging Library with Android MVVM

11 Tips for Choosing the Right CRM Software for Your Business

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Feri Lukmansyah

Feri Lukmansyah

Interesting with Blockchain and Opensource Project my journal: https://www.perykun.xyz/

More from Medium

Deploy Django App in AWS EC2 Instance Using Docker Image

Setting Up Django App

Test-Driven-Development with Django: Unit Testing & Integration testing with Docker, Flask & Github…

Django Github CI/CD

DEPLOYING A SIMPLE DJANGO APPLICATION ON AMAZON EC2