title: Angular post request expect a GET
body: <p>I have a simple function that cannot be processed, here is the ts code.</p>
  
  <pre><code>update(accNode: CcAccNode): Observable&lt;any&gt; {
    return this.http.post&lt;CcAccNode&gt;('/api/core_component/acc/' + accNode.accId, {
      'objectClassTerm': accNode.objectClassTerm,
      'state': accNode.state,
      'den': accNode.den,
      'definition': accNode.definition,
      'is_abstract': accNode.abstracted,
      'is_deprecated': accNode.deprecated,
    });
  }
  </code></pre>
  
  <p>The logs give me this kind of response :</p>
  
  <pre><code>Request URL: http://localhost:4200/api/core_component/acc/8150
  Request Method: POST
  Status Code: 405 Method Not Allowed
  Remote Address: 127.0.0.1:4200
  Referrer Policy: no-referrer-when-downgrade
  </code></pre>
  
  <hr>
  
  <pre><code>Access-Control-Allow-Origin: *
  allow: GET
  </code></pre>
  
  <p>How to bypass that ? Thanks you !</p>