title: gRPC + Image Upload
body: <p>I want to create a simple <code>gRPC</code> endpoint which the user can upload his/her picture. The protocol buffer declaration is the following:</p>
  
  <pre><code>message UploadImageRequest {
      AuthToken auth = 1;
      // An enum with either JPG or PNG
      FileType image_format = 2;
      // Image file as bytes
      bytes image = 3;
  }
  </code></pre>
  
  <p>Is this approach of uploading pictures (and recieving pictures) still ok regardless of the warning in the gRPC documentation? </p>
  
  <p>And if not, is the better approach (standard) to upload pictures using the standard form and storing the image file location instead?</p>