title: Trouble with Angular HttpClient delete statement
body: <p>Here is my call to the delete method to the service from the component.</p>
  
  <pre><code>  constructor(private wos: WorkorderService) {}
    canceled(workOrder) {
      this.wos.deleteWorkOrder(workOrder);
    }
  </code></pre>
  
  <p>Here is the delete method on the service.ts file</p>
  
  <pre><code> deleteWorkOrder(workOrder) {
     this.http.delete(this.BASE_URL + '/deleteworkorder/' + 
     workOrder.accountNumber).subscribe((response) =&gt; {
      console.log("deleted");
    })
  }
  </code></pre>
  
  <p>And this is the error message I get on the console:</p>
  
  <blockquote>
    <p>ERROR Object { headers: {…}, status: 0, statusText: "Unknown Error", url: null, ok: false, name: "HttpErrorResponse", message: "Http failure response for (unknown url): 0 Unknown Error", error: error }</p>
  </blockquote>
  
  <p>The API works fine as I have tried the statement with Postman.
  Please advise!</p>
  
  <p>This is what I see on the network section of the browser:
  <a href="https://i.stack.imgur.com/Fr0wq.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Fr0wq.jpg" alt="enter image description here"></a></p>