title: Request method GET not supported when deleting
body: <p>I have a table for adding one object to another and deleting one object from another.</p>
  
  <p>This is my controller:</p>
  
  <pre><code>@Controller
  @RequestMapping("/proj/{pid}/coupling/{r1}")
  public class CouplingController {
  
  
      @RequestMapping(method = RequestMethod.GET)
      public String getAllCouplings( ){   
          return "riskCoupling";
  
      }
  
      @RequestMapping(value = "/{r1}", method = RequestMethod.POST)
      public String saveCoupling( ){
          return "/projects";
      }
  
      @RequestMapping(value = "/{r2}", method = RequestMethod.DELETE)
      public String removeCoupling(){
  
          return "/projects";
      }
  }
  </code></pre>
  
  <p>This is my Thymeleaf view</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;td&gt;
      &lt;form action = "#" th:action="@{/proj/{pid}/coupling/{r1}/{r2} (pid=${projectID},r1=${r1ID},r2=${r2.id})}" method = "post"&gt;
          &lt;input type="submit" name="Couple" value="Couple" class="btn btn-info" /&gt;
      &lt;/form&gt;
  &lt;/td&gt;
  &lt;td"&gt;
      &lt;form action = "#" th:action="@{/proj/{pid}/coupling/{r1}/{r2} (pid=${projectID},r1=${r1ID},r2=${r2.id})}" method = "delete"&gt;
          &lt;input type="submit" name="RemoveCoupling" value="RemoveCoupling" class="btn btn-info" /&gt;
      &lt;/form&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>When I go to the url <code>/proj/{pid}/coupling/{r1}</code> I get the overview so the GET works.</p>
  
  <p>When I press the Couple button it works. So the POST works.</p>
  
  <p>When I press the RemoveCoupling button I get the error:</p>
  
  <pre><code>Request method "Get" not supported.
  </code></pre>
  
  <p>I really don't know why I get this error.</p>