As mentioned in this thread an URL has a length restriction. But what do I do when I have to submit an array of values via get parameters and can't ensure that the url doesn't exceed max length?
如此线程中所述,URL具有长度限制。但是当我必须通过get参数提交值数组并且无法确保url不超过最大长度时,我该怎么办?
I know I could POST the request, but I want users to be able to bookmark/ cache the link.
我知道我可以发布请求,但我希望用户能够为链接添加书签/缓存。
1 个解决方案
#1
3
The only possible solution would be to reduce the length of the URL as much as you can.
唯一可行的解决方案是尽可能减少URL的长度。
And if you can't reduce the amount of information that you need to transmit, try reducing the length of your GET parameters
如果您无法减少需要传输的信息量,请尝试减少GET参数的长度
#1
3
The only possible solution would be to reduce the length of the URL as much as you can.
唯一可行的解决方案是尽可能减少URL的长度。
And if you can't reduce the amount of information that you need to transmit, try reducing the length of your GET parameters
如果您无法减少需要传输的信息量,请尝试减少GET参数的长度