March 7, 2023

Use Postman to test API

Tools used in this post


Add Data to the database

  1. Start your Spring project, get the port number and access the URL.

    image-20230306205610472

    SpringFrameworkPost

    The URL for this section of the post will be localhost:8080/user/add

  2. Open Postman

    PostmanAdd


Get data from the database

  1. Start your Spring project, get the port number and access the URL.

    image-20230306205610472

    SpringFrameworkGet

    The URL for this section of the post will be localhost:8080/user/getAll

  2. Open Postman

    PostmanGet


You can find the Spring framework code here👇

About this Post

This post is written by Andy, licensed under CC BY-NC 4.0.

#Postman