title: Response for preflight does not have HTTP ok status. 403 in Angular 6
body: <p>I am trying to make a PUT request but I get the following error:</p>
  
  <pre><code>Failed to load &lt;localhost:8080/uaa/groups/dfsfaes8323df32&gt;: Response for preflight does not have HTTP ok status.
  </code></pre>
  
  <p>Apparently it works when I make GET and POST requests and works in postman but it doesn't work with the PUT request within my code.</p>
  
  <p>Here is my request:</p>
  
  <pre><code>let link = "https://ice.&lt;mydomain&gt;.com/uaadev/Groups/{groupId}";
  link = link.replace("{groupId}", data);
  const updLoad = {
    displayName: this.groupInfoObjects.displayName,
    description: this.groupInfoObjects.description,
    zoneId : "uaa",
    schemas: [
   "urn:scim:schemas:core:1.0"
    ]
  };
  let Header = new Headers({
    Authorization: `Bearer {token}`.replace("{token}", this.token),
    "Content-Type": "application/json",
    Accept: "application/json",
    "if-Match":"*"
  });
  let Option = new RequestOptions({ headers: Header });
  
  this.http.put(link, updLoad, Option).subscribe(
    res =&gt; {
      console.log(res);
      console.log(res.status);
      if (res.status === 200) {
   this.fetchGroupInfo(this.dataservice.getDTO("GroupId"));
        swal(" Updated Successfully");
      }
    },
    error =&gt; {
      console.log("errroroorororororor");
      console.log("error object " +error);
    }
  );
  </code></pre>