[email protected] Posted June 8, 2016 Share Posted June 8, 2016 (edited) Hello, I am try to generate XML file to POST images for Product. XML: <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <image>"D:\..\External_Moduls\POS_Interface\Files\images\183_1.jpg"</image> </prestashop> after that I send XML using idHTTP.POST to: Http://myWebService-Key@myurl/api/images/products/183 and return answer is : <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <errors> <error> <code><![CDATA[66]]></code> <message><![CDATA[unable to save this image]]></message> </error> </errors> </prestashop> ------ Prestashop version is 1.6.1.1 all rights are enabled for this Webservice key. How Can I send images via xml. Edited June 8, 2016 by [email protected] (see edit history) Link to comment Share on other sites More sharing options...
vdonadio Posted May 15, 2018 Share Posted May 15, 2018 I know it's an old post, but could you solve this problem? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now