【问题标题】:how to check api having requestbody annotation in postman如何在邮递员中检查具有 requestbody 注释的 api
【发布时间】:2016-01-18 20:46:37
【问题描述】:
@RequestMapping(value="/createuser", method=RequestMethod.POST,produces="application/json")
public @ResponseBody UserMessage createUser(@RequestBody User userObj,final HttpServletResponse response)

如何在邮递员中测试这个控制器/api

为用户提供 POJO

【问题讨论】:

    标签: api postman


    【解决方案1】:

    http:////create_user

    域地址是您的应用运行的位置 APPLICATION_NAME = 是应用程序基名称

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-06-16
      • 2015-04-01
      • 1970-01-01
      • 2016-07-29
      • 2017-02-02
      • 1970-01-01
      • 2020-06-09
      相关资源
      最近更新 更多