Request Entity Too Large

I’m trying to send Images taken on iOS and sending them to Xojo Cloud (WebHandler) via Hex encoded JSON. I get this error if there are more than 1 image in the HTTP POST:

Request Entity Too Large
The requested resource
/xxx/index.cgi/special/NewImages
does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.

How to change this limit, or should I restrict to one Image at a time?

How big is the file?

I tried with only 5 images from the Simulator Camera Roll, and that’s just over 18Mb in JSON. To test things I save the HTTP request in the Simulator so I can use the request for testing with Paw. I then deleted the images until I got under 10Mb (only 1 record left) - and I didn’t get the error.

However then I got anther DatabaseException that I sent to Jason? When I trace that DatabaseException the MemoryBlock that stores the converted JSON is just over 4 Mb.

When my users take images for documentation they will be much bigger than 4M mages so …
https://www.dropbox.com/s/j0jyrygqiw6e8jf/JSON%20File.png?dl=0