title: sending image as base64 within http post
body: <p>I have been trying to upload my image as a base64 string to amazon s3 but the base64 string within my s3 bucket is corrupted. Is there anything wrong with the configuration of my HTTP POST, such as the content-type specified?</p>
  
  <pre><code>var image = webcamImage.imageAsBase64;
  
  const httpOptions = {
    headers: new HttpHeaders({
      'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8'
    })
  };
  
  
  this.httpClient.post("http://localhost:8888/upload", image, httpOptions).subscribe();
  </code></pre>