Java SpringMVC accepts axios request parameters

springmvc accepts parameters:

Content-Type:application/json;charset=UTF-8

Accept parameters by annotating @RequestBody, and accept the parameter type as json or javaBean.

@RequestMapping(value="getJsSdkConfig" , method = RequestMethod.POST)
    public ModelAndView getJsSdkConfig(@RequestBody JSONObject url)









Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324646893&siteId=291194637