Got this error on a big $_GET
query in size ~9 000 symbols (they are divided into ~10 variables).
Request-URI Too Large
The requested URL's length exceeds the capacity limit for this server.
What is a workaround for this problem?
Got this error on a big $_GET
query in size ~9 000 symbols (they are divided into ~10 variables).
Request-URI Too Large
The requested URL's length exceeds the capacity limit for this server.
What is a workaround for this problem?
There is no workaround if you want pass all these info with GET without change server configuration.
Other solutions:
This worked for me (it needs formData support):
<script>
//Load form
var formData = new FormData();
formData.append("param_name1", "param_content1");
formData.append("param_name2", "param_content2");
formData.append("param_nameN", "param_contentN");
//Send form via AJAX
var xhr = new XMLHttpRequest();
xhr.open("POST", YOUR_URL);
xhr.send(formData);
</script>
Well an URI actually have a character limit depending on several things. You can check it out at
One workaround is to use POST instead of GET if you are the one developing the server too.