I am using #include "https_request.h" in my code and created request to upload image passing body and size of image.
HttpResponse* post_res = post_req->send(body, imgSize);
But My image size is->
char body[640*480];unsigned long imgSize;
I have uploaded image successfully to dropbox but it is blank. I think it is not uploading full size of data.
Is it because of limit of size in post_req->send(body, size)?
I have gone through (https_request.h) where I found size if passed to nsapi_size_t.
and this typedef unsigned int nsapi_size_t.
Any updates on this issue? Have you found out the reason why the uploaded image is blank?
JBRenesasRulz Forum Moderator
In reply to JB:
still not, but I have checked the size of the image which is uploaded. It is in Kb, so which gives hint that there is a problem in the upload of full image size. Might be one of reason as mentioned by @jihasI will try and let you know.
In reply to jihas:
@jihas Could you please tell me how to change the mode of esp32. and for sending data even I directly added memory size still no success HttpResponse* post_res = post_req->send(body, 19200); //160*120 = 19200
In reply to Brijesh: