说明接口对当前请求方式不支持,检查controller中接口的请求方式与postman中接口的请求方式是否对应。

  1. controller中接口为GetMapping,但postman中接口请求类型为POST。
  2. controller中接口为PostMapping,但postman中接口 请求类型为GET。

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐