I've started using HttpClient in place of my API based WinHttp object.
One test used SendRequest to send a string that was 138,000 bytes and it just hangs.
I checked the help and it says that there is a limit of about 20 MB. The limit appears to be much lower in my testing.
Now I am trying PostData. The help example has the string being broken up into 1024 chunks and passed to PostData in a loop.
For my first try I sent the whole string with a single call to PostData and it worked.
My questions are:
Is there a maximum size for PostData?
When chunking data, what is the best size speed-wise?
Sorry for the wrong link.
Currently, It is not recommended to use the HTTPClient object to process large data (20 MB or 100,000 data rows can be considered as large data based on our tests), because this object will call a third-party library which is memory intensive.
And yes, if you need to handle large-size data, using PostData is better than SendRequest.
So ... what do you recommend for data larger than 20MB ?