How to upload image using api on matlab?
5 次查看(过去 30 天)
显示 更早的评论
Hi,
I tried various variations of this code.
url = 'https://api.cloudinary.com/v1_1/mycloudname/image/upload'; input = struct('file',fileName,'api_key','myapikey','upload_preset','mypreset','timestamp','173759331'); options = weboptions('MediaType','application/json'); response = webwrite(url, input, options);
But I always get the (400) bad request.
Thanks for help.
https://cloudinary.com/documentation/upload_images Maybe someone want to look this.
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!