What is the default request method type for the request mapping?

rozerro :

What is the default request method type for the @RequestMapping?

@RequestMapping(value = "addGoal")
public String addGoal(Model model) {...}
codersingh :

If you do not specify any mapping this method will resolve all the http request i.e. you can send GET, POST, HEAD, OPTIONS, PUT, PATCH, DELETE, TRACE request to the specified url and it will be resolved.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=448695&siteId=1