Giter Club home page Giter Club logo

java-crud-2019-5-7-2-33-44-100's Introduction

使用Postman测试本地API

练习描述

  • com.employee.crud中完成Employee的CRUD(增删改查)四个接口的实现,并使用Postman测试本地API
  • 要求接口路径为http://localhost:8080/employees,其GET方法查询到的Employee数据如下所示:
[
    {
        "id": 0,
        "name": "小明",
        "age": 20,
        "gender": "男"
    },
    {
        "id": 1,
        "name": "小红",
        "age": 19,
        "gender": "女"
    },
    {
        "id": 2,
        "name": "小智",
        "age": 15,
        "gender": "男"
    },
    {
        "id": 3,
        "name": "小钢",
        "age": 16,
        "gender": "女"
    },
    {
        "id": 4,
        "name": "小夏",
        "age": 15,
        "gender": "女"
    }
]

环境描述

  • java8
  • Intellij-IDEA

如何开始

  • 克隆模版库
  • 启动项目,若出现 Tomcat started on port(s): 8080 (http) 字样,说明项目启动成功

输出规范

  • 项目根目录下创建result文件,其中包含对本地API增删改查四个接口测试的所有Postman截图

java-crud-2019-5-7-2-33-44-100's People

Contributors

dayangyang94 avatar linwenjun avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.