Home  >  Q&A  >  body text

javascript - spring mvc + angularjs 400 错误

大家好,碰到一个springmvc的400错误,不知道大家有什么解决方法
我的代码如下 :

浏览器请求错误:

迷茫迷茫2742 days ago422

reply all(3)I'll reply

  • 迷茫

    迷茫2017-04-18 10:58:34

    Remove @RequestParam otherwise param is not present

    reply
    0
  • 迷茫

    迷茫2017-04-18 10:58:34

    String inputVerCode = request.getParameter("inputVerCode");
    

    Get it like this and give it a try

    reply
    0
  • 怪我咯

    怪我咯2017-04-18 10:58:34

    Try changing the value of Content-Type to x-www-urlencode

    reply
    0
  • Cancelreply