network.request size limit?

Hey everyone,

I’m calling network.request using POST and I was wondering if there was a limit to the amount of data I could send? I seem to be having issues sending a string that is > 100kb long in the body of the POST request. Anyone else run into this?

Thanks.

Naveen

There isn’t a limit in the HTTP specification, but servers can have limits, but it’s usually several megabytes.

Rob

if you have trouble try to create a zip (it will be much smaller) file. send file, unzip it in the other side.

if you can’t use zip, try to pass the string to a .txt file and send it as binary. 100k is pretty small for a file. I’m sending/downloading every day files way larger than that in a shared hosting plan.

There isn’t a limit in the HTTP specification, but servers can have limits, but it’s usually several megabytes.

Rob

if you have trouble try to create a zip (it will be much smaller) file. send file, unzip it in the other side.

if you can’t use zip, try to pass the string to a .txt file and send it as binary. 100k is pretty small for a file. I’m sending/downloading every day files way larger than that in a shared hosting plan.