What is the default value @RequestMapping the method is?

There is no default, if not configured method, the following have encountered access.

RequestMethod.GET
RequestMethod.POST
RequestMethod.PUT
RequestMethod.DELETE

Reproduced in: https: //my.oschina.net/jirglt/blog/3056814

Guess you like

Origin blog.csdn.net/weixin_34314962/article/details/91808781