Very long http get request

有些话、适合烂在心里 提交于 2019-12-24 12:58:28

问题


What is the right way to make a very long get request?

For example, to get a table or report of a lot of stuff from a big database, the client has a filter and can choose from a long list of over 300 choices (multi-select). If he chooses to select all, or almost all of them, the created URL params sent to the server will be so many that it makes the URL too big.

I have thought of some ways to reduce redundancy that will make the URL smaller. But in case this doesn't work, and for future knowledge, what is the right way to make long get requests? Do they have to be "split up", and if so, does the server have to first store the 1st half and then read it during the 2nd get request?

来源:https://stackoverflow.com/questions/20809244/very-long-http-get-request

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!