Altamas Khan has Published 1 Articles

Error while passing an image value to an OData request in SAP

Altamas Khan

Altamas Khan

Updated on 05-Dec-2019 07:54:55

260 Views

If you ImgData includes an image in Data URI format base64 then add the below line to Imgvalue to convert it to ImgData:var imgData = JSON.stringify(ImgValue);I suggest you to use AJAX to post image through OData as shown in below code:OData.request ({      requestUri:"http://test.test1.net:8081/sap/opu/odata/sap/ SALES_VRS/DailySalesSet",      method: "GET", ... Read More

1
Advertisements