title: Upload of Image in SAPUI5 without FileUploader
body: <p>Is it possible to upload a file to SAP GW by using the <code>create</code>-method of ODataModel?</p>
  
  <p>I send the Image as a Base64-String to backend. In backend the create-stream method is executed and in parameter <code>is_media_resource</code> the value is filled. Now I call a function module to save the image to a order. </p>
  
  <p>But when I look into the order attachments, I can choose the Image but it shows nothing.</p>
  
  <p><em>Additional my code:</em></p>
  
  <pre class="lang-js prettyprint-override"><code>oModel.create(
      sPath, {
        value: oEvent.detail.base64
      }, 
      {
        headers: {
          slug: oEvent.detail.filename
        },
        success: function (oData, oResponse) {
          var aPhotolist = oListsModel.getProperty("/photoList");
  
          aPhotolist.results.push(oData);
          oListsModel.setProperty("/photoList", aPhotolist);
          oCarousel.getBinding("pages").refresh();
          oDialog.close();
          sap.m.MessageToast.show(JSON.parse(oResponse.headers["sap-message"]).message, {
            closeOnBrowserNavigation: false
          });
        },
        error: function (oError) {
          MessageBox.error(JSON.parse(oError.responseText).error.message.value);
          oDialog.close();
        }
      }
  );
  </code></pre>