Delete or put methods in thymeleaf

后端 未结 5 910
情歌与酒
情歌与酒 2021-02-05 15:52

I would like to call @RequestMapping(value = \"\", method = RequestMethod.DELETE) in spring from thymeleaf form.

Is there any possibility to call delete or

5条回答
  •  终归单人心
    2021-02-05 16:53

    Only solution I've found - use js:

    Add scrypt:

    
    

    and add calling link (or change to button):

    Delete
    

提交回复
热议问题