title: Send a binary file via Angular HttpClient
body: <p>I want to send an http POST request with a binary data from a file.
  I get a successful server respond when I do it via postman->Body->Binary->Choose file. see image:</p>
  
  <p><a href="https://i.stack.imgur.com/okHl6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/okHl6.png" alt="enter image description here"></a></p>
  
  <p>But I can not figure out how to do it via Angular HttpClient. How can I finish the following:</p>
  
  <pre><code>set processImage(event) {
      console.log(event);
      let files: FileList = event.target.files;
      let file = files[0]; 
      //send the file as a binary via httpClient
      ....
  </code></pre>