Wednesday 15 August 2012

Image not uploaded by urlreadpost in matlab -


I am using a tragic API in matlab. I try to upload a base 64 string on a server using urlreadpost I am here. The problem is that the code is implemented properly without errors but the image is not uploaded

My request statement is: mode, 'eventImage', D, 'imageSize', imageSize} );

I am using multilayer version of urlreadpost from matlabcentral.

My answer was found with the urlread function to be a string The name value demands the pair. I was passing a value as integer, which was causing the problem. Can easily post the image now apparently there was no need to apply multipart when the image was passed as base 64 string.

Thanks

No comments:

Post a Comment