Page 1 of 1

Too large webform url (40000 characters) issue

PostPosted: Wed Oct 26, 2022 6:02 am
by callcentertech
Hello all,

I have a webform url around 40000 characters which I was able to insert in database using mysql query. However its unable to execute because of the following error.

Submitted URI too large!

The length of the requested URL exceeds the capacity limit for this server. The request cannot be processed.

If you think this is a server error, please contact the webmaster.

On stackoverflow, I see this solution.
LimitRequestLine
LimitRequestFieldSize

Please advise..

Re: Too large webform url (40000 characters) issue

PostPosted: Wed Oct 26, 2022 6:41 am
by mflorell
Some web browsers only allow up to 2048 characters in a URL. By default the Apache webserver only allows 4000 characters in a URL. If you need to send more than that you really will have to convert it to a POST form submit. So, I would suggest you write an intermediate web page(like with PHP) that could submit that much data to your endpoint.