Reputation: 39
I will save data with AJAX, but due to the long request I encountered the following error
Request-URI Too Large
The requested URL's length exceeds the capacity limit for this server.
What do I need to solve the problem?
Upvotes: 1
Views: 179
Reputation: 3346
If the URL is too long because of folder structure, try using Mod_rewrite (If the server runs on Apache) to shorten it.
If it is because you are sending too many GET variables (most likely), send them via POST and it will be fixed
Upvotes: 2