Tomcat "HTTP Status 403 – Forbidden" on PUT or DELETE REST request
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVNa2ekzKRN6ZFGenYUTe_E9I0Wf2X9HPkAY5aO8Ay8Pe8L2J0M_F0XA_XTa9zIr49SCO224SquEXTScrvLaLmUC0z3sLNrh6Es0yhekBemGM_LE8kOKGrcdWnYvz3TYCmdql4VC_JwdsyMBLL8yjQtvT0SCIySy6wLfC6c0q9RQY2n6MrGwx57e-ERwM/s578/Image%201.png)
I updated Tomcat from version 9.0.17 to 9.0.65 and I faced a problem with PUT REST request, I got an "HTTP Status 403 – Forbidden" Error. After searching from many posts I found that tomcat has a restricted methods list on its web.xml file, so I just deleted the PUT method there, I don't have "Delete" Web Services so I still restrict it. The list is almost at the end of the file restricted methods /* TRACE DELETE HEAD OPTIONS It worked for me just by modifying that, but another solution I found was to set the parameter " readonly " to " false " on the same file, maybe it works for you. default org.apache.catalina.servlets.DefaultServlet debug 0 readonly false listings false 1 After these changes, th...