on-internet
← Community

how to resolve Request method 'GET' not supported

Stack Overflow ·

I am getting below warning as WARN [org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver] (default task-1) Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported] I have already set the method as POST but still I'm getting the above error. I'm getting this warning message for my delete controller all other CRUD operations are working fine, except delete. Please find below code Controller mapped deleteproducts : @RequestMapping(value="/deleteproducts", method= RequestMethod.POST) public String deleteProduct(@PathVariab

Comments

Sign in or sign up to comment and upvote.

No comments yet.