title: Is it acceptable to pass a base64 string from the client to the server to utilize?
body: <p>Is it acceptable to pass a base64 string from the client to the server to save?<br></p>
  
  <p>Client save I have code that creates a BASE64 string...<br>
  data:image/png;base64,iVBORw0KGgoAAAANSUh.....etc....<br></p>
  
  <p>However when I try to convert this server side I get an error that input is not a valid Base-64 string.</p>
  
  <p>In my C# code I have:</p>
  
  <pre><code>// Data Type
  public List&lt;object[][]&gt; MyData;
  
  
  var imgStr = MyData[0][0].ToString();
  var bytes = Convert.FromBase64String(imgStr); // Get error here
  </code></pre>
  
  <p>Is there a better way to take an image from client slide and pass it server side to use?</p>