PrestaSharp icon indicating copy to clipboard operation
PrestaSharp copied to clipboard

About images

Open DoubleDim opened this issue 8 years ago • 2 comments

Hello and Happy New Year, according to my #234 issue i had mentioned that if you install an older RestSharp version adding images working, for some reason the same code i was using it doesnt work anymore im getting an error "string could not be parsed as xml" as you can see from screenshot, i was ready to close my Project, the rest methods get, add,delete, update, getbyfilter i need for some records are working except adding image which i also need so i was wondering if you are goin to release any new Prestasharp version soon with this issue fixed because you had said to me like a month ago that you re lookin on it @EduLeonPavon

Thanks again for this awesome library.

im

DoubleDim avatar Jan 04 '17 12:01 DoubleDim

Have you try to, first charge the image in a byte array (via File.ReadAllBytes for example) then use the method AddProductImage with byte[] parameter? That method work correctly. So far.

w0mby avatar Jan 06 '17 11:01 w0mby

Hi @DoubleDim, My team are working just now in this feature. We need to do more tests with the last RestSharp version. If you have news about this, please let me know. Thank you for your patience.

EduLeonPavon avatar Jan 06 '17 12:01 EduLeonPavon