How to upload image using api on matlab?
Hi,
I tried various variations of this code.
Edit
header = http_createHeader('cloud_name','fsdfsdfsdf');
header2 = http_createHeader('api_key','asdfasdfsadfsadf');
header3 = http_createHeader('api_secret','asdfsadfasdfsadf');
header4 = http_createHeader('Content-Type','application/octet-stream');
headers = [header,header2,header3,header4];
response2 = urlread2(url2,'POST',data,headers);
The response is html page.(long one)
Here urlread2 content -> https://www.mathworks.com/matlabcentral/fileexchange/35693-urlread2?focused=5226044&tab=function
Thanks for help.
-
Hi
Would it be possible to share the exact call that is being sent out?
That would help us to see how "webwrite" constructs the request, and we could pinpoint the root cause.
You could also send a request to support@cloudinary.com with your cloud name so we could take a look at our end and see if we cant pinpoint the call to understand better.
Thanks
0 -
Thanks for the answer. I changed the code.
Now the response is<h2> the missing response from the app </ h2>.
0 -
Hi Albert,
As we are discussing this on a specific thread in our support portal (ticket #64384), I'm closing this thread.
0
Post is closed for comments.
Comments
3 comments