Request method ‘POST/GET‘ not supported

 It indicates that the interface does not support the current request method. Check whether the request method of the interface in the controller corresponds to the request method of the interface in postman.

  1. The interface in the controller is GetMapping, but the interface request type in postman is POST.
  2. The interface in the controller is PostMapping, but the interface request type in postman is GET.

Guess you like

Origin blog.csdn.net/qq_44973310/article/details/128247274